[Pythonmac-SIG] py2app = newbie path confusion

corporate user layne.bilyeu at robbstucky.net
Wed Apr 19 00:33:54 CEST 2006


Is this the right place to be asking stupid newbie questions about  
Mac OS X python issues?

Most of the discussions here are way over my head.


I have a python script that does not work after being transformed by  
py2app or py2applet.

(it was originally written in macPython 2.33, Mac OS 9 and was happy  
as an applet under os 9)


This script takes full paths as arguments to argv,
does PIL transformations to the files and
spits copies out to the same directory that the script was launched  
from.
It works successfully in command line form.

It seems to pass thru py2app happily using either a setup.py script  
or dropping onto py2applet.
Dropping items onto the produced app causes it to launch.
Console records my print statements as if it was working.
But no files are generated.

Is there some path magic that needs to be explicitly defined into my  
script to compensate when converting from a simple command line  
script to the full tree structure of a Mac OS X bundle?
Or are there permissions surprises?

Thanks


More information about the Pythonmac-SIG mailing list