Comments requested: brief summary of Python

Adam Barr adamba at gte.net
Tue Feb 24 15:46:32 EST 2004


"Moosebumps" <Moosebumps at Moosebumps.Moosebumps> wrote in message news:<UyC_b.2001$h11.1216 at newssvr27.news.prodigy.com>...
> It seems like you could demonstrate the same thing a little more clearly and
> concisely with a short program with annotations.  It reads like a bunch of
> facts, which is not very easy for most people to remember.  If you wrap it
> in some context they will be more likely to remember it.
> 
> Some standard programs from textbooks, like parsing a list of names and
> addresses and doing some queries on them maybe, and formatting the text
> output nicely.  some program where you would have cause to use string
> operations like slicing, dictionaries, tuples, lists, etc.
> 
> It will also "sell" python more if you can write a nice elegant program that
> is clear and easy to understand, while demonstrating many language features.

Good point. The book will have programs later on, this section is
meant as a reference.

However, as such I should probably split it into sections so it is not
just one big lump: "basic", "loops", "conditionals", etc.

- adam



More information about the Python-list mailing list