API Reference for Enthought Tool Suite 3.0.1

All-in-one multiple-string-substitution class

Example usage:

text = "Larry Wall is the creator of Perl" adict = { "Larry Wall" : "Guido van Rossum", "creator" : "Benevolent Dictator for Life", "Perl" : "Python", }

print multiple_replace(adict, text)

xlat = Xlator(adict) print xlat.xlat(text)

Method summary

Methods

© Copyright 2002-2008 Enthought, Inc.