Hi. I've just written my first Python module, and I'm wondering where to put it so Python will find it when I import it. Here's what I've got in sys.path:
I don't know which, if any, of these directories is appropriate for a user-written module, or what the usual practice is. (I'm a novice at Python, though not at coding.)
I'm using ActivePython v2.3.2, on Win XP, if that matters.
Thanks for any help.
P.S. What's the empty string at the start of sys.path for?
Code:
['', 'C:\\WINDOWS\\system32\\python23.zip', 'C:\\Python23\\Lib\\site-packages\\Pythonwin', 'C:\\Python23\\Lib\\site-packages\\win32', 'C:\\Python23\\Lib\\site-packages\\win32\\lib', 'C:\\Python23\\Lib\\site-packages', 'C:\\Python23\\DLLs', 'C:\\Python23\\lib', 'C:\\Python23\\lib\\plat-win', 'C:\\Python23\\lib\\lib-tk', 'C:\\Python23']
I'm using ActivePython v2.3.2, on Win XP, if that matters.
Thanks for any help.
P.S. What's the empty string at the start of sys.path for?