Pulling numbers from ASCII filename not working

Fredrik Lundh fredrik at pythonware.com
Tue Jan 24 18:22:05 EST 2006


"IamIan" <iansan at gmail.com> wrote:

> The exception I get is "TypeError: Cannot add value 'int' to string."

now that you've posted the exception, can you please post the code
you're using, and the *complete* traceback.

(the stuff you posted earlier contained syntax errors, and didn't con-
tain any additions.  I suggest using copy/paste, rather than typing
things from memory).

</F>






More information about the Python-list mailing list