Monday 15 September 2014

Python print()/sys.stdout.write() not visible when using logging -


I am using logging extensively in my program. But now I want to write on stdout without using the logging module, but output is not visible.

Neither:

  sys.stdout.write ("BOE!")   

neither

  Print ("Wow!")   

Is someone working on me?

It is possible that your Python output is being buffer. Take a look at these two stack overflow queues:



No comments:

Post a Comment