On Sat, Aug 7, 2010 at 5:04 AM, siva moorthy <gnus...@gmail.com> wrote: > hi all, > i wish to code for translation in python > > i want to parse a python program itself and make some keyword changes > (replacement) > tell me any library to parse python source code
Depending on you needs, one of: http://docs.python.org/library/tokenize.html http://docs.python.org/library/ast.html Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list