There's a simple way you can add your directory to
the execution path.
try this
>>>
sys.path.append(r'C:\python24\myPythonFiles')
now, you can import your file with the import
command
>>> import yourFile
Note: This is only a temporary solution, when you
close the interpreter, it will need to be appended again.
Hope that help.
|
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor