-
Notifications
You must be signed in to change notification settings - Fork 3
Python Modules
Daniel Balcárek edited this page Sep 8, 2021
·
4 revisions
In case when you want to use .py script which is in same folder like executed .py script, you can simply import it.
import factorial
result = factorial.factorialOf(5)
print(result)
In case when you want to use .py script which is different folder you can specify that folder at start of the script like: #${pathToScriptFolder}. Scriper will parse these lines and use extracted paths to find .py scripts.
#${C:\Users\johndoe\Desktop\Scripts\FactorialScriptFolder}
import factorial
result = factorial.factorialOf(5)
print(result)