So speichern Sie das Ergebnis von Python, um in Ubuntu Text zu schreiben

$ python my_program.py > output.txt
Marton