These functions in win32process should be able to get that for you:
OpenProcess, EnumProcessModules and GetModuleFileNameEx
The executable will be the first module returned from EnumProcessModules.
Roger
Gabriel Reis wrote:
Hi,
I want to get the executable filename and its path from a process
Hi,
I want to get the executable filename and its path from a process.
Imagine that I have an application installed in two different
directories. The rule is: the user can't run an instance of this
application if another instance, from the *same* directory, is already
running.
I've read PyWin32 d
This is caused by a bug in Python's tokenizer.
See sourceforge bug # [ 1085454 ] for details and a workaround.
Roger
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
"Massa, Harald" <[EMAIL PROTECTED]> writes:
> (xposting from py2exe users)
>
>
> Hello,
>
> I just upgraded my system to Python 2.4. I tried to do an former
> 2.3-setup.py script to repackage my application within Python 2.4
>
>
> This application uses wmi and therefor has an typelib-argumen
Title: Nachricht
(xposting from py2exe users)
Hello,I just upgraded my system to Python 2.4. I tried to do
an former 2.3-setup.py script to repackage my application within Python
2.4This application uses wmi and therefor has an
typelib-argumentlist.on **generating typelib stubs** the run