Printing mixtures in integers and strings

Daniel Dittmar daniel.dittmar at sap.com
Fri Mar 30 03:28:40 EST 2001


>             I'm trying to use something like this:-
>
> def move(row): #Moves the dispenser to the row on the plate
>     print "Moved to Row - " + row

Convert the int to a string:
print "Moved to Row - " + str (row)
or
print "Moved to Row - " + `row`

Daniel

--
Daniel Dittmar
daniel.dittmar at sap.com
SAP DB, SAP Labs Berlin
http://www.sapdb.org/






More information about the Python-list mailing list