[python-win32] Erratic python Win debugger operation

2005-03-02 Thread Tony Cappellini
Has anyone else had the problem with the PW debugger, where the debug toolbar goes away after running a script ? ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Re: win32process user info

2005-03-02 Thread Roger Upole
You should be able to use something like this: th=win32security.OpenProcessToken(handle,win32security.TOKEN_READ) sid=win32security.GetTokenInformation(th,win32security.TokenUser)[0] print win32security.LookupAccountSid('',sid) However, you're going to need to jack up your privileges

[python-win32] win32process user info

2005-03-02 Thread Tom Haddon
Hi, I'm trying to determine the user name that's associated with a win32process. I've got the process info like this: for process in win32process.EnumProcesses() handle = win32api.OpenProcess(win32con.PROCESS_QUERY_INFORMATION, 0, process) How do I then determine the username for each

Re: [python-win32] How to use Python to develop virtual printer?

2005-03-02 Thread Niki Spahiev
Jiang Shanyi wrote: I want to develop a virtual printer, can anybody tell me where can I find an existing open source virtual printer project? or Can anybody tell me how to develop virtual printer? and how about use of python? Best Regards!! Look for printer redirector. IIRC there is one for makin