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