So speichern Sie das Ergebnis von Python, um in Ubuntu Text zu schreiben
$ python my_program.py > output.txt
Marton
$ python my_program.py > output.txt