integer to string?

Hendrik Reinhold webliebe at t-online.de
Tue Jun 3 07:23:00 EDT 2003


>import random
>from random import randrange
>var1 = randrange(0,9)
>capisuite.audio_send(call,my_path+var1+".la")

Thanks to all of you, the solution was str(var1),
that means

capisuite.audio_send(call,my_path+str(var1)+".la")

runs well. 

Best regards
Hendrik





More information about the Python-list mailing list