RE: [Tktable] tktable with Python under Windows
by Jeff Hobbs other posts by this author
Dec 31 2004 1:02PM messages near this date
[Tktable] tktable with Python under Windows
|
RE: [Tktable] border
Stewart Midwinter wrote:
> Anyone out there get this to work under Windows? I had
> success under Linux, but under Windows I get an error message saying:
> _tkinter.TclError: package "Tktable" isn't loaded statically
>
> Where should I put the tktable.py module, and the tkable.tcl
> and Tktable.dll files?
An interesting question for which I have only a theoretical answer,
being a Tcl/Tk user for the most part.
The lib/Tktable2.x/{tktable.tcl,Tktable.dll,pkgIndex.tcl} files
that form the core of the Tktable library for any Tcl/Tk install
should be placed as a sibling to the tcl8.4 and tk8.4 directories.
Let's take an ActivePython install as an example. The Tcl runtime
libraries are at C:\Python\tcl\... by default, so you would place
the Tktable files in C:\Python\tcl\Tktable2.x\... The tktable.py
would go where the Python 'import' would pick it up. I imagine
the best place for this is C:\Python\Lib\lib-tk\, where py files
like Tkdnd.py and Tix.py are also located.
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Tktable-users mailing list
Tktable-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tktable-users
Thread:
Stewart Midwinter
Jeff Hobbs
|