Edit Python code programmatically
Ben Finney
bignose+hates-spam at benfinney.id.au
Sat Feb 9 07:07:45 EST 2008
Alex <noname9968 at gmail.com> writes:
> Which library could you recommend to perform simple editing of
> Python code (from Python program)? For example, open *.py file, find
> specific function definition, add another function call inside, find
> existing call and change parameter value, etc.
You might want to look into the Python refactoring tool "Bicycle
Repair Man" <URL:http://bicyclerepair.sourceforge.net/>, which
presumably needs to do some of this.
--
\ "I washed a sock. Then I put it in the dryer. When I took it |
`\ out, it was gone." -- Steven Wright |
_o__) |
Ben Finney
More information about the Python-list
mailing list