Problem

Just van Rossum just at letterror.com
Wed May 19 15:40:09 EDT 1999


Frank "The Bot" de Bot wrote:
>The strings are extracted from a file. (forgot to tell). Do you maybe know
>a way
>to make the string valid to calculate with?

You need to convert them to numbers. If you know they're ints, use the
builin int() function.

Just






More information about the Python-list mailing list