Hello, I have a question/suggestion about ''.join in Python 1.6. Suppose I have this list: l = ["This", "is", "a", "test"] Currently, I would join it this way into a tab-delimeted string: s = string.join(l, '\t') In 1.6, I should do it this way: '\t'.join(s) I think it would be better to have that method on the *list*: s.join('\t') That's more clear, isn't it? regards, Gerrit. -- Please correct any bad English you encounter in my email message! -----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com Version: 3.12 GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE? Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y -----END GEEK CODE BLOCK-----
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4