Re: Collecting Rich Data Structures for students

2008-01-10 Thread [EMAIL PROTECTED]
On Jan 10, 1:01 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Wed, 9 Jan 2008 15:05:25 -0800 (PST), "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > > Sometimes we spare the students (whomever they may be) this added > > step and just hand them a di

Re: Collecting Rich Data Structures for students

2008-01-09 Thread Paddy
On Jan 9, 11:05 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Jan 9, 8:15 am, Paddy <[EMAIL PROTECTED]> wrote: > > > > > On Jan 9, 6:52 am, Paddy <[EMAIL PROTECTED]> wrote: > > > > On Jan 9, 2:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > > wrote: > > > > > Greetings Pythoneers -- >

Re: Collecting Rich Data Structures for students

2008-01-09 Thread Scott David Daniels
[EMAIL PROTECTED] wrote: > Some of us over on edu-sig, one of the community actives, > have been brainstorming around this Rich Data Structures > idea, by which we mean Python data structures already > populated with non-trivial data about various topics such > as: periodic table (proton, neutron

Re: Collecting Rich Data Structures for students

2008-01-09 Thread [EMAIL PROTECTED]
On Jan 9, 8:15 am, Paddy <[EMAIL PROTECTED]> wrote: > On Jan 9, 6:52 am, Paddy <[EMAIL PROTECTED]> wrote: > > > > > On Jan 9, 2:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > wrote: > > > > Greetings Pythoneers -- > > > > Some of us over on edu-sig, one of the community actives, > > > have been

Re: Collecting Rich Data Structures for students

2008-01-09 Thread Paddy
On Jan 9, 6:52 am, Paddy <[EMAIL PROTECTED]> wrote: > On Jan 9, 2:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > Greetings Pythoneers -- > > > Some of us over on edu-sig, one of the community actives, > > have been brainstorming around this Rich Data Structures > > idea, by which

Re: Collecting Rich Data Structures for students

2008-01-09 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > Some have offered XML repositories, which I can well > understand, but in this case we're looking specifically for > legal Python modules (py files), although they don't have > to be Latin-1 (e.g. the sushi types file might not have a > lot of romanji). you can of cours

Re: Collecting Rich Data Structures for students

2008-01-09 Thread bearophileHUGS
It may be better to keep the data in a simpler form: data = """\ 42 40 73 45 Albany, N.Y. 35 5 106 39 Albuquerque, N.M. 35 11 101 50 Amarillo, Tex. 34 14 77 57 Wilmington, N.C. 49 54 97 7 Winnipeg, Man., Can.""" cities = {} for line in data.splitlines(): a1, a2, a3, a4, n = line.split(" ", 4)

Re: Collecting Rich Data Structures for students

2008-01-09 Thread Martin Marcher
Paddy wrote: > On Jan 9, 2:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: >> Some have offered XML repositories, which I can well >> understand, but in this case we're looking specifically for >> legal Python modules (py files), although they don't have >> to be Latin-1 (e.g. the sushi ty

Re: Collecting Rich Data Structures for students

2008-01-08 Thread Paddy
On Jan 9, 2:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Greetings Pythoneers -- > > Some of us over on edu-sig, one of the community actives, > have been brainstorming around this Rich Data Structures > idea, by which we mean Python data structures already > populated with non-trivial d

Collecting Rich Data Structures for students

2008-01-08 Thread [EMAIL PROTECTED]
Greetings Pythoneers -- Some of us over on edu-sig, one of the community actives, have been brainstorming around this Rich Data Structures idea, by which we mean Python data structures already populated with non-trivial data about various topics such as: periodic table (proton, neutron counts);