Re: [PythonCE] Can't Get My Import Module Command to Work Properly

2006-05-17 Thread Bandung
The *.pth is the easiest solution to the problem of being able to run a script within a given directory. Mark, your solution also works wrt to appending the needed directory. In fact it is the same as mine. Only difference is the name of the file and the fact that I don't use an os import line.

Re: [PythonCE] Can't Get My Import Module Command to Work Properly

2006-05-17 Thread Luke Dunstan
"sdcard.pth" in \Program Files\Python24 containing a single line: \sd-mmc Card\python Luke - Original Message - From: "Mark Doukidis" <[EMAIL PROTECTED]> To: "Bandung" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, May 17, 2006 9:15 AM Subject:

Re: [PythonCE] Can't Get My Import Module Command to Work Properly

2006-05-16 Thread Mark Doukidis
Try using "sitecustomize.py". This is the setup I used for Python2.3: # sitecustomize.py to be placed in python library directory. import os import sys if os.name == 'ce': sys.path.append("\My Documents\Personal") Hope this is useful. Mark Doukidis On 5/17/06, Bandung <[EMAIL PROTECTED]> wro