code to run script from file name in PyCharm


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?

Please sign in to leave a comment.