Hi im trying to make a python file open another python file and run it while still continuing on with the same program
MIT 6.00 Intro Computer Science (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
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.
Not the answer you are looking for? Search for more explanations.
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 " be sufficient?
It also runs statements in the other file, not just imports the functions/classes
It won't be concurrent though