Skip to content

Instantly share code, notes, and snippets.

@seafooler
Created September 3, 2020 06:54
Show Gist options
  • Save seafooler/483d590bc7b6bc77dfb2badb2058c6eb to your computer and use it in GitHub Desktop.
Save seafooler/483d590bc7b6bc77dfb2badb2058c6eb to your computer and use it in GitHub Desktop.
Redirect&flush the python script output to a file
script -c "python test.py" -f OUTPUT.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment