how to coerce to a string in Python?

Mark Tarver dr.mtarver at ukonline.co.uk
Tue Apr 28 14:58:02 EDT 2009


How do you coerce an object to a string in Python?

123 --> "1 2 3"
[1,2,3] -> "[1,2,3]" etc

Mark



More information about the Python-list mailing list