Package Problem, win32com

Jon McLin jondmclin at spamfree.yahoo.com
Thu Jul 8 06:46:45 CEST 2004


I am confused.

I am using python 2.3.3 and win32all 1.63 on Win2k Pro.

Following the example from the Python Win32 book, I type
 >>> from win32com import storagecon
Traceback (most recent call last):
   File "<interactive input>", line 1, in ?
ImportError: cannot import name storagecom
 >>>

win32com imports fine.
storagecon.py is present in site-packages\win32com
If I execute storagecon.py directly, the constants defined therein are 
imported successfully into the global namespace.

What am I doing wrong? (or more importantly, what do I misunderstand, if 
you can deduce that?)

Thanks in advance,
Jon



More information about the Python-list mailing list