Python writes itself or another file -


i know sound general , without sources or ways want be.

i code literally write/add line such : print("hello world") python file.

i able edit py file through powershell.

with open('whatever.py', 'w') py_file:   py_file.write("print('hello world!')") 

Comments