Error in trying to locate bitmaps files
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
> can not find the file (lumber.gif). I try full path and even put @ before
> 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...
<!-- (the eff-bot guide to) the standard python library:
More information about the Python-list