Possible Duplicate:
Python - Parse a .py file, read the AST, modify it, then write back the modified source code
I've done a search on this several times but every time I search for something like this I get basic I/O results. I don't want basic I/O.
I'm looking for either a library or some sort of resource I can start with on making Python code that can manipulate/add/detract from python files. Not automatically, but with prompting of some sort. It also has to be able to run other python files in-addition-to.
Essentially, I want an I/O system that can work on Python files effectively. I don't know if I'm just being stupid or if something like this exists....any help?