[Tutor] Executing Python from TCL
Karim
karim.liateni at free.fr
Fri Aug 13 04:20:46 CEST 2010
Thanks Alan,
For clarify that. The speed is not an issue people just need config
files generated from xml to feed EDA simulations and validations tools.
Karim
On 08/12/2010 09:39 AM, Alan Gauld wrote:
>
> "Karim" <karim.liateni at free.fr> wrote
>
>> Anyway, you're right I found what I needed at:
>>
>> http://sourceforge.net/projects/elmer/files/elmer/elmer1.1.5/elmer1.1.5.tar.gz/download
>>
>>
>> This is the open source Elmer distribution.
>
> OK, glad you found something and I'm sure it will be worth a try.
> But I'm pretty sure it will have to embed the Python interpreter
> so that the Tcl interpreter will call the python interpreter to execute
> the parser. That could lead to a significant slow down of your code.
> If speed is not a high priority you may get away with it. At least
> it should prove the concept and design of the app.
>
> But you may still find you need to use a native Tcl parser if speed
> is an issue. (Then again, if speed was a big issue you probably
> wouldn't be working in Tcl or even Python!)
>
> HTH
>
>
More information about the Tutor
mailing list