strings

Scribe scribe at linuxht.com
Thu Sep 4 06:18:38 CEST 2003


Hi
Somewhat new to Python and would appreciated some help in selecting the 
best builtins to achieve what I want.
I pass a string to a function, it is either
empty
spaces
alpha and digits
or
a decimal ie. 5,789.88
if it is a decimal I want to return the number without the commer any 
others return 0.
Should be simple or maybe I am.
Any help apreciated.





More information about the Python-list mailing list