[Tutor] Python wrappers for TCL routines

Alan Gauld alan.gauld at blueyonder.co.uk
Thu Apr 15 14:20:41 EDT 2004


> Can any one let me know if I can somehow directly write 
> Python wrappers for TCL routines. I would like to avoid 
> using any other language like C in between. 

Yes there is.

There is a hook in Tkinter whereby you can execute 
arbitrary Tcl code, so you could wrap that ina function 
call. Search the comp.lang.python newgroups on Google 
groups and you should find a mail from, I think, 
Cameron Laird which shows how...

Alan G.





More information about the Tutor mailing list