[Pythonmac-SIG] py2app...
Chris Barker
Chris.Barker at noaa.gov
Fri Oct 7 18:01:20 CEST 2005
hubert.blein at libertysurf.fr wrote:
> I did not succed for Mac with py2app on a friend's macOSX Panther...
1) What problem[s] did you have? We cant help if we don't know.
2) Does it run at the command line, without Py2app?
> resultat=resultat+dirpath+"\\"+filename+"\n"
don't hard code backslashes ( r"\" )into paths..that only works on
windows. OS-X is Unix, and thus uses "/". Use os.path.join for a cross
platform method.
-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
Chris.Barker at noaa.gov
More information about the Pythonmac-SIG
mailing list