Linked to this question: How do I save terminal output to a file?
I understand that I can form an output file by using:
python3 script.py > output.txt
However, I also want to see the output being generated by the python file while it is being saved to output. Is there a simple way to do this on the command line?