Oct-06-2019, 08:13 PM
(This post was last modified: Oct-06-2019, 08:13 PM by Gribouillis.)
JohnnyCoffee Wrote:How do I insert any python script into file2.py ?You can do
from pathlib import Path Path('file2.py').write_text( """ print("hello world, I'm file2.py") """)