tcl list to python list?

jerry.levan at gmail.com jerry.levan at gmail.com
Sat Sep 16 22:19:02 EDT 2006


Hi,

I have a file that contains a "tcl" list stored as a string.  The list
members are
sql commands ex:
 { begin { select * from foo
                where baz='whatever'}
  {select * from gooble } end
  { insert into bar values('Tom', 25) } }

I would like to parse the tcl list into a python list...

Any suggestions ( I am running Tkinter...)

Jerry




More information about the Python-list mailing list