<quote who="Luke Dunstan"> > > 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 python to return the current directory it is in? say something like: dir = return_dir() image_loc = dir + "//BtnGluco.gif" Or: image_loc = dir + "//assets//img//BtnGluco.gif" #This is how I would like to orgnize it _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce