Search Results

Search: Posts Made By: Tieso
1,577
Posted By Tieso
Thank you very much, this is the problem! It...
Thank you very much, this is the problem!
It can be solved adding a flush() method after the prints you want to flush:
import sys
sys.stdout.flush()

Adding a flush() class like this:
class...
1,577
Posted By Tieso
Thanks for response but this don't works. I see...
Thanks for response but this don't works.
I see the log file with "ls -l" that the file is 0KB until the program finish and then is full of all information.
1,577
Posted By Tieso
[solved] How to see log in real time?
Hi people

I have a bash script with a line like this:

python example.py >> log &

But i can't see anything in the log file while python program is running only if the program ends seems to...
Showing results 1 to 3 of 3

 

Featured Tech Videos

All times are GMT -4. The time now is 03:08 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy