[Tutor] Question: Converting ints to strings

Fiel Cabral fcabral@i-next.net
Mon, 24 Apr 2000 14:24:23 -0400

Please tell me how to convert an int to a string.
I'm trying to do the following:

    block_number = 1
    file_name = 'temp.file'
    output = open(file_name + '.$' + block_number + '$', 'wb')

This didn't work. I was hoping that it would create 
a file called 'temp.file.$1$'.

Thank you.

Fiel Cabral