Sep-22-2017, 05:54 PM
(This post was last modified: Sep-22-2017, 05:54 PM by JamieVanCadsand.)
Hey Python Programmers...
I Try to train my self in working with SYS and OS. In this case... create an simple
program they get more python scripts loading. But now... this is an simple test.
My first script you must start with:
but it doesn't. I get just an error. Python said thad jamics is not cognized.
So... this is my other script for my test with os and sys.
My seccond script they must be importing from my first script:
They are two test scripts to test my knowledge for import files with os and sys.
This is an simple test.
Can anyone help me to tell what the problem is ?...
Thanks, Jamie.
I Try to train my self in working with SYS and OS. In this case... create an simple
program they get more python scripts loading. But now... this is an simple test.
My first script you must start with:
import os import sys import jamics module = "../script/module/jamics" script = sys.path.append(os.path.abspath(module)) print("Script Map: ", script)This give the bigest problem. This script must be load my other module script jamics,
but it doesn't. I get just an error. Python said thad jamics is not cognized.
So... this is my other script for my test with os and sys.
My seccond script they must be importing from my first script:
print("Jamics Imported !...")Can anyone see whats wrong with my script ?... i don't can see the problem.
They are two test scripts to test my knowledge for import files with os and sys.
This is an simple test.
Can anyone help me to tell what the problem is ?...
Thanks, Jamie.