File I/O

Sönmez Kartal sonmez at lavabit.com
Wed May 9 17:30:58 EDT 2007


Hi,

As far as I know, Python doesn't have a specific thing to handle this.
You could write a tiny function that would interpre element type of 
list's elements. It checks type, if it is a list then get that pair 
manually...

If list is going like that 'a' - '1', 'b' - '2', you should use dictionary.
-- 
Sönmez Kartal




More information about the Python-list mailing list