Re: [python-win32] win32net

2006-09-08 Thread Mark Hammond
Try something like: import win32net win32net.NetGroupGetUsers(win32net.NetGetAnyDCName(), 'domain users', 1) Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wolf, Matthias ALRT/ELD Sent: Thursday, 7 September 2006 11:55 PM To:

Re: [python-win32] win32net

2006-09-08 Thread Tim Roberts
Wolf, Matthias ALRT/ELD wrote: Thanks for your answer! You are right, but in the group 'GROUP' are users and groups and I want to receive both. Probably I need something like win32net.NetGroupGetGroups instead of win32net.NetGroupGetUsers. Is there any possible way to realise this?

[python-win32] isapi + django

2006-09-08 Thread Robin Becker
I thought I'd check here in case anyone has already connected django to IIS. I tried the PyISAPIe, but it doesn't do what django needs and I guess I should have looked around at win32 before doing that. It seems the isapi stuff will do what I want and there's already a model of mapping the

[python-win32] Get CPU usage of single process in Windows

2006-09-08 Thread Tor Erik Sønvisen
Hi, This should be possible as Taskmanager tracks CPU usage for every process... Anyone know how it can be done? regards ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] isapi + django

2006-09-08 Thread Sidnei da Silva
On Fri, Sep 08, 2006 at 05:49:42PM +0100, Robin Becker wrote: | I thought I'd check here in case anyone has already connected django to IIS. You could try http://isapi-wsgi.python-hosting.com/ if django can be run as a WSGI app (which I believe it can). -- Sidnei da Silva Enfold Systems

Re: [python-win32] isapi + django

2006-09-08 Thread David Primmer
I spent a lot of time working on this recently. http://pylonshq.com/project/pylonshq/wiki/ServePylonsWithIIS is uses isapi_wsgi davep Sidnei da Silva wrote: On Fri, Sep 08, 2006 at 05:49:42PM +0100, Robin Becker wrote: | I thought I'd check here in case anyone has already connected django to

Re: [python-win32] Get CPU usage of single process in Windows

2006-09-08 Thread Tim Roberts
Tor Erik Sønvisen wrote: Hi, This should be possible as Taskmanager tracks CPU usage for every process... Anyone know how it can be done? TaskManager and perfmon get this information from the Win32 performance counters. Unfortunately, the performance counter API is a bit verbose.