Python wykonuje echo do pliku
import os
string="This is test"
os.system("echo "+string+">> ~/Desktop/file.txt")
sirG
import os
string="This is test"
os.system("echo "+string+">> ~/Desktop/file.txt")