Answers for "python execute echo to file"

0

python execute echo to file

import os
string="This is test"
os.system("echo "+string+">> ~/Desktop/file.txt")
Posted by: Guest on August-06-2021

Python Answers by Framework

Browse Popular Code Answers by Language