Re: Tkinter PhotoImage, no such file or directory

"Luke Dunstan" <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
----- Original Message ----- 
From: "Patrick Kramer" <[email protected]>
To: <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.