Hi im trying to make a python file open another python file and run it while still continuing on with the same program
I would need to use an run statement but im not sure how to make the rest of the module continue to run
Can you explain more about what you're trying to do? Typically multi-processing is done using the subprocess module, but depending on what you're trying to accomplish that may not be the best solution for you.
Im trying to have one module open another,
No, you're trying to do something else, and you think the best way to accomplish it is to have 2 modules 'running' at the same time. But without knowing what you're actually trying to do I can't give you good advice.
Im trying to have one python moduel open another and run it, thats all im trying to do
in the same directory, wouldn't "import <name>" be sufficient? It also runs statements in the other file, not just imports the functions/classes It won't be concurrent though
Join our real-time social learning platform and learn together with your friends!