the sanitation, the medicine, education, wine, public
order, irrigation, roads, a fresh water system, and public health, what have
the Romans ever done for us?
~~
--- On Mon, 10/4/10, Alan Gauld wrote:
From: Alan Gauld
Subj
"Albert-Jan Roskam" wrote
It makes much more sense to maintain one database table instead of 3
csv files
for the three data typists' output.
To be pedantic you will probably want several tables but they will all
be in one file... :-)
Btw, your private website is nice too. Nice pictures!
Lee Harr
To: tutor@python.org
Sent: Sat, October 2, 2010 12:56:21 AM
Subject: Re: [Tutor] (de)serialization questions
>>> I have data about zip codes, street and city names (and perhaps later also
of
>>> street numbers). I made a dictionary of the form {zipcode: (street, city)}
On Sat, 2 Oct 2010 04:08:22 am Albert-Jan Roskam wrote:
> Maybe my main question is as follows: what permanent object is most
> suitable to store a large amount of entries (maybe too many to fit
> into the computer's memory), which can be looked up very fast.
"Very fast" and "cannot fit in main m
"Albert-Jan Roskam" wrote
Maybe my main question is as follows: what permanent object is most
suitable to
store a large amount of entries (maybe too many to fit into the
computer's
memory), which can be looked up very fast.
It depends on the nature of the object and the lookup but in gener
>>> I have data about zip codes, street and city names (and perhaps later also
>>> of
>>> street numbers). I made a dictionary of the form {zipcode: (street, city)}
>>
>> One dictionary with all of the data?
>>
>> That does not seem like it will work. What happens when
>> 2 addresses have the sam
have
the
Romans ever done for us?
~~
From: Lee Harr
To: tutor@python.org
Sent: Fri, October 1, 2010 12:37:58 AM
Subject: Re: [Tutor] (de)serialization questions
> I have data about zip codes, street
> I have data about zip codes, street and city names (and perhaps later also of
> street numbers). I made a dictionary of the form {zipcode: (street, city)}
One dictionary with all of the data?
That does not seem like it will work. What happens when
2 addresses have the same zip code?
> Are th
Hi,
I have data about zip codes, street and city names (and perhaps later also of
street numbers). I made a dictionary of the form {zipcode: (street, city)}
I dumped the dictionary into a marshal file. I have two questions:
The first question is a very basic one: if I deserialize the dictionary