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 can use the
import command to import another file. Usually this is used to import functions. Here is an example:
def greet(): print("hello world!")
# first way import test test.greet() # second way from test import * # import * means import everything greet() # third way from test import greet greet()
Please upvote if this helps :)