[python-win32] ASP, IIS, win32 and Python 3.1

2010-05-11 Thread Tim Brown
Hi, Is it possible to get Python 3.1 with the win32 extensions working with IIS ? I've got 2.5 and 2.6 (with Mark's fix) working, but even a simple "Hello world" .asp page gives me HTTP 500 error. This is on Windows XP and IIS 5.1. If it only works on later versions of IIS that's fine I just need

Re: [python-win32] Running a Windows Python service without pythonservice.exe?

2010-05-11 Thread Bill Janssen
Thanks, Mark. I suppose I could run regsetup.py, but that would make my private Python globally known, not really what I want to do. I'll soldier on with option (a), using python.exe to run the service, and see if I can get that to work on a simple example. Bill _

Re: [python-win32] Running a Windows Python service without pythonservice.exe?

2010-05-11 Thread Bill Janssen
Mark Hammond wrote: > Sounds about right - but reading pythonservice.cpp is really the > definitive source to what needs to be done. Sadly I can't find > anything more specific, such as a sample. OK. pythonservice.exe has a lot of stuff in it -- for instance, there seems to be a standalone imp

Re: [python-win32] Running a Windows Python service without pythonservice.exe?

2010-05-11 Thread Bill Janssen
OK, so I wrote my own InstallService: import sys, os, win32service def InstallService(pythonClassFile, serviceName, displayName, startType = None, errorControl = None, bRunInteractive = 0,

Re: [python-win32] how to get access to someone's else Outlook Calendar ?

2010-05-11 Thread Stef Mientki
On 11-05-2010 04:01, Mark Hammond wrote: > On 4/05/2010 6:40 AM, Stef Mientki wrote: >> Now one small question, how do I get those constants, like >> constants.olFolderCalendar (=9) ? > > makepy needs to have been run for the object in question before the > constants magically appear. It should be

Re: [python-win32] Running a Windows Python service without pythonservice.exe?

2010-05-11 Thread Mark Hammond
On 12/05/2010 4:28 AM, Bill Janssen wrote: OK, so I wrote my own InstallService: That actually isn't necessary - the class can provide _exe_name_ and _exe_args_ attributes to override the defaults. See attached sample which works for me - be sure to place it in the same directory as the pip

Re: [python-win32] Running a Windows Python service without pythonservice.exe?

2010-05-11 Thread Mark Hammond
test ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Running a Windows Python service without pythonservice.exe?

2010-05-11 Thread Mark Hammond
test ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32