Jun-11-2018, 06:46 PM
So I need to run a file (file_1.py) within another file (file_2.py), and use the variables/outputs that are created via file_1.py in file_2.py! In file_2.py, I have tried the followings:
import file_1 exec(file_1)but non of these work! Could you tell me how I could do such a thing in Spyder?