[python-win32] makepy creates gen_py/123-ID.py but no gen_py/
123-ID - Folder
Tim Golden
tim.golden at viacom-outdoor.co.uk
Wed Nov 10 10:10:50 CET 2004
[The Count]
[... snip losing makepy folders etc. ...]
| What am I missing? I do (sort of) remember they weren't there
| from the start but I have no clue as to how I created them,
| they're source claims them to be created by makepy ...
Don't know why makepy isn't generating them, but if you haven't
already, try using EnsureDispatch, so if it was Microsoft Word
you were talking about, you'd be doing something like this:
<code>
import win32com.client
word = win32com.client.gencache.EnsureDispatch ("Word.Application")
</code>
Also, I seem to remember that Mark has moved around the location
in which makepy creates its proxy modules. I'm running the latest
stable pywin32 and the proxies appear to be being created under
my profile in "Local Settings\temp\gen_py\2.3". So, for me, that's
C:\Documents and Settings\goldent\Local Settings\temp\gen_py\2.3
HTH
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-win32
mailing list