Greg Ewing wrote:
I'm having trouble understanding how PreTranslateMessage
is supposed to work.
According to M$:
Return value: Nonzero if the message was translated
and should not be dispatched; 0 if the message was
not translated and should be dispatched.
and according to the pywin32
Hello,
If I run the code (with wsscript small_pys.pys) given here under, I got
this error
==
Windows Script Host Error
___
Script:...
Line 9
char 0
Error: Traceback...
File Script Block line 9, in module
import
The following program creates a FrameWnd with an
Edit control in it.
If I select some text in the control, then switch
to another window and back again, the Edit control
has lost the keyboard focus.
Normal Windows applications don't behave that way.
What do I have to do to get my controls to
Hi folkz,
just a simple question for a python guru:-)
How can I execute dos commands via python?
The command exec(chdir \Dir1\dir2\..) doesn't do it.
Many thanks in advance!
Solomon
___
python-win32 mailing list
python-win32@python.org
On Fri, Mar 6, 2009 at 1:29 PM, solomon.zewdie.al...@zf.com wrote:
Hi folkz,
just a simple question for a python guru:-)
How can I execute dos commands via python?
The command exec(chdir \Dir1\dir2\..) doesn't do it.
Many thanks in advance!
Solomon
Aditya Jayraman wrote:
I was wondering if the pywin32 package implements the LsaLogonUser() method
(not to be confused with the LogonUser() method)
I looked through the win32security module and could not find it.
Thanks
--Aditya
Nope, it's not there yet. I have a partial implementation
Many thanks toward you both! Now it works with: os.system(command)
#Simon:
well that was just an example...
i was looking for a syntax in order to be able to execute certain dos commands,
which is possible, like Graeme advised me correctly, with the the above command.
Solomon
Roger,
Thanks for replying.
I need it for a very specific case.
I need to implement pass through authentication with different NTLM flavors.
any suggestions on how this can be done with any of the current methods?
LsaCallAuthenticationPackage() looks promising. Although the MSDN docs are
not
One warning: If you do a chdir command (for example) or define a dos
environment variable, etc, in a shell script -- using any of the subprocess
or os.system or such commands -- it will only affect the child procees which
is created for the call, not the process you make the call from. This is
Dear Experts:
I want to program a COM server in Python where you can run it as its
own application and work with it through its own UI, and you can also
run an external script that connects to the running executable
using (your language's equivalent of) VB's "GetObject" instead of
10 matches
Mail list logo