Converting tuple to String
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Converting tuple to String

From: Byte <eoinrogers@gmail.com>
Date: Sun Apr 30 2006 - 17:32:47 CEST

Is their a command to convert a tuple to string? e.g.

xyz = "Hello", "There"
print xyz

Is their any way of getting print to see xyz as being one string i.e.
"Hello There" rather than "Hello" and "There", despite "Hello" and
"There" being, in reality, seperate?

Thanks in advance,
 -- /usr/bin/byte
Received on Mon May 1 00:47:21 2006