Forcing type conversion

Dale Strickland-Clark dale at out-think.NOSPAMco.uk
Wed May 17 10:17:34 EDT 2000


How do I get Python to force 'a' and 'b' into strings so that the following
concatenates instead of trying to add.

a = 1
b = 2
a + ":" + b

Thanks

--
Dale Strickland-Clark
Out-Think Ltd, UK
Business Technology Consultants






More information about the Python-list mailing list