code to run script from file name in PyCharm
Hi
I'm looking to run a Python file from PyCharm BUT without clicking 'Run' or anything like that. I basically need to have it as code in an existing script.
I have trouble finding the right solution online. Am I supposed to use os.system?
something like the below?
os.system(r"C:\Users\....py")
Please sign in to leave a comment.