[Tutor] substitute function

Alan G alan.gauld at freenet.co.uk
Mon Aug 1 00:08:24 CEST 2005

>> Is there a 'substitute' function in python.

> You can do this with the translate() method of a string. 

That was the clever stuff I was trying to remember, not a module
after all, a method!

Thanks Kent,

Alan G.

More information about the Tutor mailing list