There's got to be an easier way to do this

Ryan LeCompte rmlecompte at hotmail.com
Thu Jul 5 13:26:12 EDT 2001


Try this:

Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>>import string
>>>f = string.maketrans('', '')
>>>string.translate('hello99there', f, string.letters)
'99'


Ryan LeCompte
rmlecompte at hotmail.com
rml7669 at louisiana.edu

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





More information about the Python-list mailing list