On Feb 11, 5:33 pm, John Machin <[EMAIL PROTECTED]> wrote: > On Feb 12, 9:24 am,black_13<[EMAIL PROTECTED]> wrote: > > > > > > > what does this error mean? > > i am trying to use mark hammonds win32 package. > > > Traceback (most recent call last): > > File "aui2.py", line 11, in <module> > > import win32com.client > > File "C:\Python25\lib\site-packages\win32com\client\__init__.py", > > line 12, in <module> > > import dynamic, gencache, pythoncom > > File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", > > line 24, in <module> > > import build > > File "C:\Python25\lib\site-packages\win32com\client\build.py", line > > 507, in <module> > > valid_identifier_chars = string.letters + string.digits + "_" > > AttributeError: 'module' object has no attribute 'letters' > > If you have a file called string.py in the same directory as your > script, move/rename/delete it. > Otherwise run python from the command line with the -v option and find > where it's getting the interloper string module from.- Hide quoted text - > > - Show quoted text -
You were correct! I went back to my work machine and there it was. For some insane reason I had a py file string.py in the same directory as the script I was working on. thanks black_13 -- http://mail.python.org/mailman/listinfo/python-list