How do you run another file from

Right now were creating a program called Jalcon Industrial:
And there is a /run command which runs other programs on different .py documents, so we were wondering how you can run those files from the main program?

P.S To run the python program you may have to open it in a new tab with this:

You are viewing a single comment. View All
Answered by ArchieMaclean [earned 5 cycles]
View Answer

HELP! I cannot figure out how to do this when the file is inside a folder? Every path expression I have tried to identify the location of the file to import does not work?


Hi did you ever figure this out? @marky0marky


@JensenAndre1 @marky0marky
Hi, sorry I'm a bit late, but you can but a period between like this:

where you obviously replace myfolder and myfile and f with the relevant information.