Chewing one's arm off to avoid VBScript (was RE: Serious privacy leak in Pytho
Joshua Muskovitz
joshm at taconic.net
Fri Jan 18 00:39:22 EST 2002
> print '\n'.join(map(' = '.join, dict.items()))
Now that is sooooo cool. It never occurred to me that you could use
string.func as a function reference for map.
--
# Joshua Muskovitz
# joshm at taconic.net
def lyyrs(sig): return '-'.join(sig.split()+["ly y'rs"])
lyyrs('Hire me! I need the work!')
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
More information about the Python-list
mailing list