Skip to content

Instantly share code, notes, and snippets.

@jwhitehorn
Created December 8, 2019 05:50
Show Gist options
  • Save jwhitehorn/a9ab315b7c01160b30d2d6441bbd9db1 to your computer and use it in GitHub Desktop.
Save jwhitehorn/a9ab315b7c01160b30d2d6441bbd9db1 to your computer and use it in GitHub Desktop.
~> python --help
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Options and arguments (and corresponding environment variables):
...
-u : force the binary I/O layers of stdout and stderr to be unbuffered;
stdin is always buffered; text I/O layer will be line-buffered;
also PYTHONUNBUFFERED=x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment