+ 1
Program to run another python program
I am trying to write code for a program that can execute and run other programs from the same filedirectory. Below is the code. When I try running and executing it it stops working. How can I fix it? https://code.sololearn.com/cD2iA1GtGSdY/?ref=app
1 Answer
+ 1
I am not actually sure, how exec works, but I recommend to have a main function in each file. And then you can call them to run the wanted parts.