Making a dict from two lists/tuples

Duncan Booth duncan at
Tue May 29 04:49:54 EDT 2001

Jonathan Feinberg <jdf at> wrote in news:ofsgciqx.fsf at

> "Alex Martelli" <aleaxit at> writes:
>> temp=[decorate(x) for x in beep]
>> temp.sort()
>> beep[:]=[undecorate(x) for x in temp]
> I was wondering what a Schwartzian Transform might look like in
> Python. ;)

Have you tried looking at the FAQ? may be what you want.

Duncan Booth                                             duncan at
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?

More information about the Python-list mailing list