[python-win32] automatically restart python service after crash

2017-01-09 Thread Aaron Burrow
I developed a python service using win32serviceutil.ServiceFramework and PythonService.exe. If the service crashes (eg, an unhandled exception is raised) I want the service to restart. So, I configured the service to restart using `ChangeServiceConfig2`. Code looks like this. ``` import win32ser

[python-win32] List of keys and values

2014-02-18 Thread Aaron Reabow
# any other folder messages = inbox.Items message = messages.GetLast() then doing this for eample: for message in messages: print message.TaskDueDate i was wondering what else I can get access to for a message? many thanks in advance, Aaron --

Re: [python-win32] Calling COM methods that expect arguments by reference

2009-08-10 Thread Aaron Hoover
to be outputs in the generated file. I'll dig a bit deeper tomorrow to see what I can come up with. Thanks, Aaron On Aug 10, 2009, at 2:30 PM, Greg Antal wrote: Aaron: From the Python definition you show, PythonCOM is going to treat your call-by-reference arguments as output values whet

[python-win32] Calling COM methods that expect arguments by reference

2009-08-10 Thread Aaron Hoover
d or invalid The error message is: ('EOF in multi-line statement', (156, 0)) --- com_error Traceback (most recent call last) c:\users\aaron\code\ in () C:\Python25\lib\site-package

[python-win32] IE & DocumentComplete

2008-07-08 Thread aaron
Sorry if this is a repeat, but the information on the web regarding DocumentComplete and IE is not helping me find a solution. I read a 2000 thread that documentcomplete was 'broken'.. is this still the case? If not, does anyone mind sending me a snippet of some working code where it's used? I f

[python-win32] comtypes question: getactiveobject(ie.__clsid) says 'operation unavailsble'

2008-06-27 Thread Aaron Colichia
e results if I use the seemingly good ie.__clsid I've also tried passing ie._iid_ and str(ie.__clsid) and str(ie._iid_) Is this all the same problem with IE not registering with ROT? Thanks, Aaron ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32