Re: calling python procedures from tcl using tclpython

2005-07-09 Thread Jonathan Ellis
Jeff Hobbs wrote: chand wrote: can anyone help me how to provide the info about the python file procedure in the tcl script which uses tclpython i.e., is there a way to import that .py file procedure in the tcl script currently I have wriiten this tcl code which is not working package

Re: calling python procedures from tcl using tclpython

2005-07-08 Thread Jeff Hobbs
chand wrote: can anyone help me how to provide the info about the python file procedure in the tcl script which uses tclpython i.e., is there a way to import that .py file procedure in the tcl script currently I have wriiten this tcl code which is not working package require tclpython set

Re: calling python procedures from tcl using tclpython

2005-07-07 Thread Michael Schlenker
chand wrote: Hi.. I am writing a Gui in TCL and my backend code is python. I want to call python procedure in tcl using tclpyhton. I want to know clearly how this should be implemented. let's say I have procedure test_function(arg1,arg2 ...) defined in test.py. I want to call this

Re: calling python procedures from tcl using tclpython

2005-07-07 Thread chand
That is exactly i want to know. i.e...,how to provide the python code path in tcl script file, that loads required function. --BestRegards., --chandra definitions etc. Michael Schlenker wrote: chand wrote: Hi.. I am writing a Gui in TCL and my backend code is python. I want to call

Re: calling python procedures from tcl using tclpython

2005-07-07 Thread chand
Hi., can anyone help me how to provide the info about the python file procedure in the tcl script which uses tclpython i.e., is there a way to import that .py file procedure in the tcl script --BestRegards --Chandra Michael Schlenker wrote: chand wrote: Hi.. I am writing a Gui in TCL