[wxpython-users] where we put the .png files?

Abdessamad EL GON-NOUNI abdessamadg at gmail.com
Fri May 2 05:40:12 PDT 2008


the commend os.getcwd() gives me the right path from the idle interface. but
the programm does still not know how to lead the image.

I have another question: StaticBix can contain another? if so how? because I
didn't succeed to do it.
if not, how could I make three windows inside the main window, two will
contain others, and the third one is for text?
thanks


2008/5/2 Robin Dunn <robin at alldunn.com>:

>
> You are specifying the image file with no path information, so for
> wx.Bitmap to be able to find it the image file will need to be in the
> current working directory.  In other words the directory returned by
> os.getcwd().  If you don't have control over where your CWD is then you'll
> need some other way to find your images, like specifying a full path to t=
he
> file, using the wx.StandardPaths class mentioned earlier, img2py, etc.
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
>
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200805=
02/a5c9bac8/attachment.html


More information about the wxpython-users mailing list