We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from time import sleep from datetime import datetime x=0 while(x<2): x = x+1 sleep(2) print(datetime.now())
prints should come in with a gap of 2 seconds but instead they come in all at once at the end
The text was updated successfully, but these errors were encountered:
i found the answer in extrabacon/python-shell#103
I need to use -u to disable buffering of output
Sorry, something went wrong.
print is not real-time #6
300565d
No branches or pull requests
prints should come in with a gap of 2 seconds but instead they come in all at once at the end
The text was updated successfully, but these errors were encountered: