473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

using third party TCL library

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

import Tkinter;
Tkinter.Tk().tk.eval(myTcl);

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 ?
Tkinter.Tk().tk.eval(myTcl);
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 1284

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sam | last post by:
Hi, After compiled and linked with a third-party C++ library ACE in FreeBSD 5.4, apart from copying my program over, I found that I also need to copy the libace..so.5.4.1 file to the target...
14
by: Tony Johansson | last post by:
Hello Experts! Assume I have a class called SphereClass as the base class and a class called BallClass that is derived from the SphereClass. The copy constructor initialize the left hand object...
6
by: Kaushal Mehta | last post by:
Hello, I am using two third party softwares, cyrus IMAP and UW c-client and both of them are defining a function fatal with different signature. Here is the error "ld: fatal: symbol `fatal' is...
12
by: Kenneth H. Brannigan | last post by:
Hello, I was wondering if anyone could point me to a source that gives the standards for creating PDF documents. I do not want to use a third party product at all I want my C# object to create the...
3
by: John Dann | last post by:
I'd like to talk to a (serial port linked) external instrument from within a .Net project. The makers supply a Win32 compatible DLL (written in C and not an ActiveX DLL I think) that handles the...
8
by: John Brock | last post by:
I am currently using a VB.NET program to send out e-mails with plain text bodies (plus one attachment). The emails are being received as Rich Text messages (probably just my personal Outlook...
1
by: Lee Greco | last post by:
I'm looking for some advice on how to proceed. Here's the scenario: I've got to develop a high availability VB.Net web service that basically acts as a middle man between the web service...
0
by: tsmith | last post by:
Hi Can somebody help me, please! I'm trying to use a third-party .NET forms control in an unmanaged COM-aware application (MFC). I have no problem doing this with normal .net controls, as...
6
by: =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post by:
Hello, I am using Visual Studio-2003. I created a project to build my library. Since I am using third party libraries as well, I have specified those additional library dependencies in project...
1
by: primi | last post by:
Hello, i have studied both c and c++ at university (although by no means have they been extensive, one semester each) and i feel i have a fairly good understanding of the basics of these languages. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.