470,849 Members | 1,208 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

using third party TCL library

Hi All,
I am calling some TCl scripts from python using the
following syntax:

import Tkinter;

Now I need to use a 3rd party TCL library for my
script. Its like :
package require TclLib

When I run this python file I get an error saying:
Traceback (most recent call last):
File line 301, in RunScript
exec codeObject in __main__.__dict__
File "C:\aghose\Test3.py", line 3, in ?
TclError: can't find package TclLib

Now that is obvious since the python interpreter is
invocing a TCL shell which does not know where my
package is.
My question is where can I put this file so that the
TCL invoced from the python shell gets it.
Thanks in advance,

Thanks and regards,
Avik Ghose

__________________________________________________ ______________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html

Jul 18 '05 #1
0 1225

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Tony Johansson | last post: by
12 posts views Thread by Kenneth H. Brannigan | last post: by
3 posts views Thread by John Dann | last post: by
1 post views Thread by Lee Greco | last post: by
6 posts views Thread by =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.