
April 3rd, 2003, 05:02 PM
|
 |
Rut row Raggy!
|
|
Join Date: Jul 2001
Location: Tornado Alley
|
|
How do you combine strings and ints?
How do you combine a string and an int in Python? For example, I was messing around with some of the winsound functions, and when I tried something like:
print "Bitrate: " + params[1]
Params[1] being the second element in the params array, which is contains information about the sound file (ie. type, bitrate, mono/stereo, etc.). I got an error saying I couldn't combine a string with an int (which, by the way is the stupidest syntax rule I've ever heard).
__________________
Matt
|