[Tutor] Drifting Values in urllib.

Alan Gauld alan.gauld at btinternet.com
Sun May 7 01:16:07 CEST 2006


> Am I missing something fundamental here? I am not used to 
> dictionaries
> swirling around like this. :-)

Caveat: I didn't read this through thoroughly but...

Dictionaries are not in any specific order, you cannot rely on the
order remaining constant. If you are relying on the order you may
well get bitten, you need to extract the data in the order you need
it

HTH,


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld





More information about the Tutor mailing list