NameError: name 'maketrans' is not defined, pythonchallenge
cirfu
circularfunc at yahoo.se
Tue Jun 24 14:11:18 EDT 2008
from string import maketrans
ok but how can i write:
pattern = maketrans('A-XY-Za-xy-z', 'C-ZA-Bc-za-b')
pattern = maketrans('A-Za-z', 'C-Bc-b')
none works....
More information about the Python-list
mailing list