redirection of file that was changed path python code example Example: redirect python output to file $ python foo.py > file