[python-win32] Problem in install Distutils/python-sybase-0.39

2009-06-01 Thread Santosh Mohan
Hi, I am facing problem in installing python-sybase-0.39 and Distutils. python-sybase-0.39 requires Distutils. --- *santosh-r4c:~/python-sybase-0.38 # ls* .cvsignore LICENCE Sybase.py blk.c c

Re: [python-win32] Problem in install Distutils/python-sybase-0.39

2009-06-01 Thread Gerdus van Zyl
what python version are you running? and from where did you get python? distutils should be part of your python since it's part of the standard library. On Mon, Jun 1, 2009 at 11:43 AM, Santosh Mohan wrote: > Hi, > > I am facing problem in installing python-sybase-0.39 and Distutils. > > python-s

Re: [python-win32] Problem in install Distutils/python-sybase-0.39

2009-06-01 Thread Santosh Mohan
Python is the same of SLES10 distro santosh-r4c:~ # python -V Python 2.4.2 On Mon, Jun 1, 2009 at 3:28 PM, Gerdus van Zyl wrote: > what python version are you running? and from where did you get > python? distutils should be part of your python since it's part of the > standard library. > > On

Re: [python-win32] Problem in install Distutils/python-sybase-0.39

2009-06-01 Thread Gerdus van Zyl
Ok try installing the python-devel package. On Mon, Jun 1, 2009 at 1:13 PM, Santosh Mohan wrote: > Python is the same of SLES10 distro > > santosh-r4c:~ # python -V > Python 2.4.2 > > > On Mon, Jun 1, 2009 at 3:28 PM, Gerdus van Zyl > wrote: >> >> what python version are you running? and from wh

[python-win32] how to use CreateProcessWithLogonW

2009-06-01 Thread Emin.shopper Martinian.shopper
Dear Experts, Can someone provide an example of how to use CreateProcessWithLogonW? I am having some issues with the subprocess module and how it interacts with win32security.ImpersonateLoggedOnUser. Specifically, I use the latter to change users but the new user does not seem to be properly inhe

Re: [python-win32] how to use CreateProcessWithLogonW

2009-06-01 Thread Tim Roberts
Emin.shopper Martinian.shopper wrote: > Dear Experts, > > Can someone provide an example of how to use CreateProcessWithLogonW? > It's really just a combination of LogonUser and CreateProcess. It uses the first four parameters you passed to LogonUser, plus the parameters you would have passed