> Jerry LeVan wrote: >> Is there anyway I can discover the pathname of an running >> python script?
As a note: in general, this is not a great way to locate resources. There is no completely foolproof way to locate the path tot he executable on all platforms, so it's better to define your resourced directory in a different way. I'm pretty sure, if you're using Py2app, that there is a standard place to store stuff in the Application bundle, and a standard way to access it. Search this list, the Py2App docs, or, if you get lucky someone will chime in and tell you what it is! -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig