title: How do I run a script in PyCharm that incorporates another script from the same project? (both scripts are in PyCharm)
body: <p>I have an executable script in PyCharm that given some inputs defines certain variables. I also have another script that is in the same project, this second script uses the previously defined variables to preform tasks and returns information.</p>
  
  <p>Does PyCharm have a way to do this easily or does it involve importing the file formally using an import statement at the top of the first script? If it involves import, then how would I call the second script inside the first?</p>
  
  <p>My goal is to run the second script inside of the first script. Ideally in a more elegant way than pasting the whole second script into the first.</p>