Re: [python-win32] scripting pythonwin

2008-07-13 Thread Marcus.CM
Hi Bob, Coming from a VC++ to python was not that hard, but there are some mentality changes and "gotchas" when i took up python. In your case, if you want to learn MFC, well, actaully its going to a lot more "gotchas" and finer mentality changes. But i would recommend the following book if yo

[python-win32] ctypes and DLL

2008-07-23 Thread Marcus.CM
rom python ? Marcus.CM. ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] ctypes and DLL

2008-07-24 Thread Marcus.CM
Hi Thomas, Thanks, will give it a shot . My main concern is that i need to use the code in a service and have a display msgbox is not an ideal design. Marcus Thomas Heller wrote: Marcus.CM schrieb: Hi On Windows/Vista :- vr = ctypes.CDLL(str) When loading a DLL that is corrupted

[python-win32] py2exe bug with email.MIMEText

2008-07-31 Thread Marcus.CM
There is a bug with py2exe when (at least under windows) when importing email # example testmime.py import email msg = email.MIMEText.MIMEText("dsafdafdasfA") print "ok" 1. Save the text above and setup as testmime.py 2. Run it and u can see "ok" 3. Create setup.py and run : python setup.py py

Re: [python-win32] py2exe bug with email.MIMEText

2008-07-31 Thread Marcus.CM
Hi, After some debugging, i found the solution is to :- import email import email.mime.text import email.iterators import email.generator import email.utils Marcus. Marcus.CM wrote: There is a bug with py2exe when (at least under windows) when importing email # example testmime.py import