Installing tkdnd

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Installing tkdnd

Sajjad Hussain
Hi,

I am trying to install tkdnd and its tkinter wrapper
available from these sites:

http://sourceforge.net/projects/tkdnd

http://www.8ung.at/klappnase/TkinterDnD/TkinterDnD.html

I have placed the TkinterDnD.py in the lib-Tk folder
of Python. I have also unzipped and placed the
tkdnd-1.0a2 (contains the demo, lib, doc folders)
folder in  Tcl\lib folder. There are two dlls
available. They are: libtkdnd.dll and libtkdnd10.dll.
I am not to sure where to place them.

Now when I type the following commands, I get the
error shown below:

>>> from Tkinter import *
>>> import TkinterDnD
>>> root = TkinterDnD.Tk()

Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
  File "c:\Python23\lib\TkinterDnD.py", line 104, in
__init__
    self.tk.eval('package require tkdnd')
TclError: can't find package tkdnd

Can anyone please tell me what I am doing wrong.




               
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs 
 
_______________________________________________
Tkinter-discuss mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/tkinter-discuss