How to run multiple scripts from a script in python -
i have 3 python scripts, script1, script2 , script3 in folder. want run script2 , script3 using script1. how can this?
in script1 need import script2 , script3:
at top of script1:
import script2 import script3
to run function script2 example:
script2.function()
you may need add blank file called __init__.py
in same directory scripts, python can see directory library.
Comments
Post a Comment