Script to convert Tcl scripts to Python?

Gerard Flanagan grflanagan at gmail.com
Wed Apr 23 06:49:08 EDT 2008


On Apr 23, 9:17 am, "Achillez" <n... at na.com> wrote:
> Hi,
>
> I have a 10k+ line Tcl program that I would like to auto convert over to
> Python. Do any scripts exist that can convert ~90% of the standard Tcl
> syntax over to Python? I know Python doesn't handle strings, but just for
> general syntax e.g., puts > print, expr > math operations
>
> thanks

Never used it, but there's a jacl2jython tool (IBM):

http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg24012144


G.



More information about the Python-list mailing list