Renaming functions and vars

Mikkel Rasmussen footech at get2net.dk
Tue Apr 3 11:06:16 EDT 2001


Is there a smart or automatic way to rename functions and variables?

I would like to prepend a string to the function names in a module. It
shouldn't be too difficult to program it, but I would like to spare myself
the effort.

And how about variables? I would like to define different prefixes to
variable names. The renaming should not change the semantics of the program,
so I can't just use copy-paste here.

Any help?

Mikkel Rasmussen





More information about the Python-list mailing list