On 26/05/2013 04:07, Tim Hanson wrote:
I'm new to this, just getting through the first Mark Lutz book.

If I start out with :

ham=list('spam');ham
['s','p','a','m']

How do I get a string back?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


''.join(ham)

--
If you're using GoogleCrap™ please read this http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to