[PythonCE] Tkinter PhotoImage, no such file or directory
Luke Dunstan
coder_infidel at hotmail.com
Sat Apr 29 10:19:15 CEST 2006
----- Original Message -----
From: "Patrick Kramer" <pkramer at meton.net>
To: <pythonce at python.org>
Sent: Saturday, April 29, 2006 10:28 AM
Subject: Re: [PythonCE] Tkinter PhotoImage, no such file or directory
> That worked, thanks... So is there a way to tell pythonce were the current
> directory is?
You can tell Python using os.chdir(), but that will not necessarily have any
effect on Tkinter because the operating system has no concept of a "current
directory", so it depends on whether the image file is opened in the Python
code or the C code.
Luke
More information about the PythonCE
mailing list