Re: Looking for Pythonic Examples
G. Völkl wrote:
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
Pick up a copy of the Python Cookbook, it is full of examples.
-Larry
.
Relevant Pages
- Re: Python vs C for a mail server
... > Since Robert Martin and Bruce Eckel (the authors of the two documents ... I'm pretty sure I red a PEP about static type safety in Python at some ... As you say, smart pointers are not full-blown garbage collection, which is ... As for the locking: Apart from locking your whatever you need to lock in ... (comp.lang.python) - Re: Bruce Eckel and Ruby
... >> Lose the hostility and read his article again. ... My question is does it matter if we can or cannot get a Python ... And in my oppinion Bruce Eckel could be more valuable asset to the Ruby ... (comp.lang.ruby) - Re: python tutorial/projects
... I just remembered the Bruce Eckel book is a direct transaltion from ... And as such the example python code within the chapters is not even ... > Thomas G. Willis ... (comp.lang.python) - Re: Indentation vs. "end"s
... Then get to *REALLY* love Python and the problem is gone for you (and ... for honorable Bruce Eckel too). ... > I *REALLY* love Ruby very much. ... > sometimes feel myself wishing that Ruby use indentation (as ... (comp.lang.ruby) - Re: Percentage matching of text
... Bruce Eckel wrote: ... > Does anyone know of an algorithm or library that would do this? ... Maybe you can utilize crm114 for that - after training it with a few ... There is a cmme package for python available, ... (comp.lang.python) |
|