[Pythonmac-SIG] bundlebuilder questions

michael ferraro michael at possibleworlds.com
Tue Dec 9 11:23:09 EST 2003


I guess I should have paused a second before sending
the previous post.

fname = os.path.abspath (os.path.join (sys.path[0], fn))
pixmap.load (fname)

did the trick


On Dec 9, 2003, at 10:53 AM, michael ferraro wrote:

> I have setup a buildapp.py script and successfully built
> an executed my app form the MacOSX 10.3.1 Finder.
>
> what I don't seem to be able to do is to load an image
> that is included in a Resources subdirectory.  The image
> file is in the Resources/subdirector.  The app starts and runs
> fine if Irun it from the command line when I am *in"  the Resource
> directory.
>
> My module subdirectories load fine when I run from the Finder
> just the Images are not found.  I'm guessing there is something
> I am overlooking with respect to paths.
>
> I thought I had seen a posting that described a similar problem
> but didn't find it when I search my email from this list.
>
> I am running the Mac installed Python 2.3 on Panther and using
> the most recent PyQt
>
> thanks
>
> Michael
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>




More information about the Pythonmac-SIG mailing list