Yes, you are right. Solution without Tkinter usage is also possible. File watcher can be created on pure Python implementation:
http://www.amk.ca/python/simple/dirwatch.html Sorry I forgot this issue because this thread is a [Tkinter-discuss] :) Regards, Igor Novikov sK1 Project http://sk1project.org On Wed, May 20, 2009 at 7:33 PM, Cameron Laird <came...@phaseit.net> wrote: > On Wed, May 20, 2009 at 12:25:08PM +0300, Igor Novikov wrote: > . > . > . > > File system events are not a part of tk library so Tkinter doesn't > process > > such events. > > Nevertheless native _tkinter library contains two file event related > > procedures - createfilehandler() and deletefilehandler() > > So you can try finding samples how to use these functions. For example: > > > > http://mail.python.org/pipermail/python-list/1999-May/001838.html > > > > Also you can try resolving this issue using "fileevent" tcl command: > > > > http://www.tcl.tk/man/tcl8.5/TclCmd/fileevent.htm > > > > But this way supposes tcl programming. > . > . > . > There are arguably easier ways. It might be the weekend before I > can explain. My summary: Mr. O'Gorman can try Mr. Novikov's sug- > gestions, OR wait for the possibility of a more completed approach. >
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss