I don't know if this was already discussed. I think that maybe Python 2.5 can add some attributes to the str object:
>>> str.ascii_letters 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' >>> str.hexdigits '0123456789abcdefABCDEF' etc. And maybe this too: str.maketrans(from, to) (I think string.capwords() isn't important enough to be added too). Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list