+ 2

Logging Python output.

Is there any way to log the output from python in a Linux terminal?

3rd Sep 2020, 3:28 AM
Aria
Aria - avatar
1 Odpowiedź
+ 1
Yes, just like in any other os. Just write the output to a file, whatd be cool is if you could write bash script to activate python script that writes to your hard drive. And if you just want to use the python program in terminal, cd into your directory with the script, type: chmod +x __script name__.py, Then you can run your scripts as executables through terminal
3rd Sep 2020, 5:06 AM
Slick
Slick - avatar