[PyKDE] bundlebulder questions

michael ferraro michael at possibleworlds.com
Tue Dec 9 17:06:01 GMT 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:17 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 subdirectory and he app starts and runs fine if I
> run 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
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>




More information about the PyQt mailing list