Can I use python ast module for this?
        Posted  
        
            by Juanjo Conti
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Juanjo Conti
        
        
        
        Published on 2010-06-18T12:51:17Z
        Indexed on 
            2010/06/18
            12:53 UTC
        
        
        Read the original article
        Hit count: 248
        
I'd like to write a program that modify python programs in this way:
change
"some literal string %" % SOMETHING
to
functioncall("some literal string %") % SOMETHING
Thanks,
© Stack Overflow or respective owner