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 har
Hello,
I use a dictionary:
phone = {'mike':10,'sue':8,'john':3}
phone['mike'] --> 10
I want to know who has number 3?
3 --> 'john'
How to get it in the python way ?
Thanks
Gerhard
--
http://mail.python.org/mailman/listinfo/python-list