ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tktable-users
tktable-users
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved