Re-using TCL code from python over network

2016-03-28 Thread sharad1087
Hi

We've a test automation framework written in TCL (including the automated test 
cases). We are evaluating shifting to Python and have a test framework in 
Python (including the automated test cases). Python provides a lot more 3rd 
party libraries that we'd like to make use of.

We use a pretty old version of TCL (8.4.5, 32 bit). It's on FreeBSD and we've 
compiled it in-house. Compiling it to 64 bit or moving to a newer version is a 
massive task (since we've a lot of libraries - written in C and compiled as 
well as pure tcl).

Also, we are evaluating having this Python infrastructure on Linux (CentOS).

I've explored Python's Tkinter but it won't suit our case as it points to 
system installed TCL. I've also explored Python's subprocess (launch an 
interactive TCL shell remotely) and pexpect but none of them worked well for me 
to allow me to use TCL code interactively from Python.

I'd like to gather any ideas/experience around this. If anyone has tried a 
similar stuff before and can share his/her experience, I'd appreciate it.

Regards
Sharad
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Re-using TCL code from python over network

2016-03-29 Thread sharad1087
@Christian: Thanks!
@Karim: Thanks. My requirement is to run tcl code from python. tclpython allows 
executing python code from tcl. "but I now I migrated all the TCL code to 
python one indeed" - did you re-write the TCL code in Python?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Re-using TCL code from python over network

2016-03-29 Thread sharad1087
Thanks Christian. You are right. Our TCL is 32 bit and runs on FreeBSD. We are 
planning to use Python (64 bit) on CentOS.
-- 
https://mail.python.org/mailman/listinfo/python-list