> is there an easier way to get the name of current process?

It depends on what you mean by 'name'.  Either 'sys.executable' or
'win32api.GetModuleFileName(0)' should give the same(-ish) result as Tim's
script in most cases.

Mark

_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to