Prev: cscope like source code navigation for python code
Next: Replace and inserting strings within .txt files with the use of regex
From: Chris Rebert on 7 Aug 2010 14:57 On Sat, Aug 7, 2010 at 5:04 AM, siva moorthy <gnusiva(a)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 |