[Tutor] Looking for a number adding script
Kenny Li
kenny.li at gmail.com
Mon Apr 11 04:59:14 CEST 2005
Hi all,
A little while ago, when I tried to pick up Python, I ran into an
article that has a script to add up all numbers in a text file (email
message, for example). I want to use that script now, but I could not
find (recalled) the URL to the article. If you have a point, please
let me know. Appreciate it.
Example text: XXX, today's restaurant bill looks like this: coffee
$9.43, bread $91.44, food $141.43
I like to use a python script to automatically, add 9.43, 91.44 and
141.43 and give me a total.
Thanks,
Kenny
More information about the Tutor
mailing list