windows directories for curr user

Tim Golden tim.golden at viacom-outdoor.co.uk
Thu May 12 04:15:16 EDT 2005


[flamesrock]
| 
| Thanks for the code Tom.
| 
| Unforunately, I get the following error message when trying to import
| win32com in idle:
| 
| >>> from win32com.shell import shell, shellcon
| 
| Traceback (most recent call last):
|   File "<pyshell#20>", line 1, in -toplevel-
|     from win32com.shell import shell, shellcon
| ImportError: No module named win32com.shell

I should have said that you need the pywin32 libraries: http://pywin32.sf.net

I just automatically install them on any win32 python system I
get my hands on. You can achieve the same effect by using the
ActiveState Python distribution.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list