>
> 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
>
So there is no way for pyt
> Patrick Kramer wrote:
>> I have two files which are both in the PyGlucoCE directory off of root.
>>
>> Tkintertest.py
>> BtnGluco.gif
>>
>>
>>
>> Here is my code:
>>
>> import sys
>>
>> sys.path.append('\
I have two files which are both in the PyGlucoCE directory off of root.
Tkintertest.py
BtnGluco.gif
Here is my code:
import sys
sys.path.append('\\Program Files\\Python24\\python24.zip\\lib-tk')
sys.path.append('\\PyGlucoCE')
from Tkinter import *
root = Tk()
ImgGlucose = PhotoImage(file =