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.
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?
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.