Error in trying to locate bitmaps files

Fredrik Lundh effbot at telia.com
Sun May 7 19:30:21 CEST 2000


Fanny Yeung <fannyy at idmail.com> wrote:
> It is me again with similar problem but this time is coming from
PhotoImage
> can not find the file (lumber.gif). I try full path and even put @ before
it
> but it still can't create the image. Any idea.

PhotoImage looks in the current directory (os.getcwd() will
tell you what it is).  it doesn't look anywhere else, so if the
file isn't in there, you have to give the full name.

just like you'd do in any other application, of course...

</F>

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->





More information about the Python-list mailing list