Finding the Process Path
Peck, Jon
peck at spss.com
Mon Oct 3 08:14:02 EDT 2005
I have Python code running in an application, and I would like to find the full path of the process executable where it is running. I can do this with win32api.GetModuleFileName(0) on Windows, but I would like a solution that uses only standard modules and works cross platform. Any suggestions?
TIA.
Jon K Peck (Kim)
peck at spss.com <mailto:peck at spss.com>
312-651-3435
233 S Wacker Dr
Chicago, IL 60606
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051003/dab47832/attachment.html>
More information about the Python-list
mailing list