[Tutor] string.join()

Monte Milanuk monte at milanuk.net
Mon Nov 3 17:09:30 CET 2008


Thanks for the verification, folks.

What had me stumped for a while was the first method was string.join(words[,sep]), and the new one showed str.join(words)... it wasn't immediately obvious (to me) that 'str' was in this case supposed to be the separator.

Thanks again,

Monte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081103/3c353333/attachment.htm>


More information about the Tutor mailing list