Looking for Pythonic Examples

G. Völkl gm.voelkl at t-online.de
Tue Feb 28 13:30:58 EST 2006


Hello 

I am looking for examples of Pythonic Thinking:

One example I found:

Here some lines of the web side of Bruce Eckel:
http://www.mindview.net/WebLog/log-0053

How to read a text file:
for line in file("FileName.txt"):
  # Process line
It is a easy and sophisticated thing in python,
but hard to do or more complicated in other languages 
like java.

Does anyone know more examples ?

Does anyone know books about real good python programming ?

Best Regards

Gerhard



More information about the Python-list mailing list