By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,932 Members | 1,944 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,932 IT Pros & Developers. It's quick & easy.

Books for programmers

P: n/a
V
Hi,

I'm a C++, Java and C programmer, and I'm searching for a (preferably
printed) book that teaches me the "Python idioms", i.e. the "Python
way" of doing something.

Ideally, I'm searching for a book like "Effective C++" or "Effective
Java", that does not lose time teaching what is a class, or a
function, or a loop, but that enters into details and describes not
only the "how", but also the "why".

I read the book "Dive into Python", but I found too schematic and not
enough advanced for my interests.

I generally do not like books from O'Reilly, while I prefere those
from Addison Wesley.

Best regards.
Jun 27 '08 #1
Share this Question
Share on Google+
10 Replies


P: n/a
Hi,

Hm, depends of course, how good your programming skills are in the
languages you knwo already, but I rely on the book "Beginning Python -
From Novice to Professional" by Magnus Lie Hetland, published by Apress.

And for GUI programming I use the official wxPython book. Both books are
really worth their money and with some programming skills there's no
need to read every line because it's easy to navigate through the books
and find the function/structure/whatever you're looking for.

Best regards,
Matt
V wrote:
Hi,

I'm a C++, Java and C programmer, and I'm searching for a (preferably
printed) book that teaches me the "Python idioms", i.e. the "Python
way" of doing something.

Ideally, I'm searching for a book like "Effective C++" or "Effective
Java", that does not lose time teaching what is a class, or a
function, or a loop, but that enters into details and describes not
only the "how", but also the "why".

I read the book "Dive into Python", but I found too schematic and not
enough advanced for my interests.

I generally do not like books from O'Reilly, while I prefere those
from Addison Wesley.

Best regards.
Jun 27 '08 #2

P: n/a
V
Hi Matt,

and thank you very much for your answer.
Hm, depends of course, how good your programming skills are in the
languages you knwo already, but I rely on the book "Beginning Python -
From Novice to Professional" by Magnus Lie Hetland, published by Apress.
I think that I'm interested in a more advance book, ideally one that
talk of the Python gotchas, traps, pitfall, idioms, performance,
stile, and so on. I really like the style used from Scott Meyers in
his Effective C++ series, or from Herb Sutter's Exceptional C++, but
after a quick look I did not find anything similar for Python...

Best regards.
Jun 27 '08 #3

P: n/a
On Jun 3, 12:22 am, V <vdu...@gmail.comwrote:
I'm a C++, Java and C programmer, and I'm searching for a (preferably
printed) book that teaches me the "Python idioms", i.e. the "Python
way" of doing something.

Ideally, I'm searching for a book like "Effective C++" or "Effective
Java", that does not lose time teaching what is a class, or a
function, or a loop, but that enters into details and describes not
only the "how", but also the "why".
I like "Core Python Programming", 2nd ed., by Wesley Chun. After a
couple of years of reasonably intense learn-on-my-own Python via
"Learning Python" by Mark Lutz, and other resources, I was shocked how
much I didn't know about Python when I picked up Chun's book. It's
pretty thick (1100 pages?) and covers a lot of basic stuff, but that
can be skimmed pretty quickly. Two large reasons it is so thick: (1)
lots of annotated examples; (2) pretty thorough tables on language
features, some of which I didn't pick up going through
docs.python.com. (Full disclosure: I joined a group of Pythonistas
and got to review the 2nd edition book before it went to press; so a
few of my corrections made it into print. But really, I was blown
away by how much I picked up in the process.)
Jun 27 '08 #4

P: n/a
On Jun 3, 5:45*am, V <vdu...@gmail.comwrote:
Hi Matt,

and thank you very much for your answer.
Hm, depends of course, how good your programming skills are in the
languages you knwo already, but I rely on the book "Beginning Python -
From Novice to Professional" by Magnus Lie Hetland, published by Apress.

I think that I'm interested in a more advance book, ideally one that
talk of the Python gotchas, traps, pitfall, idioms, performance,
stile, and so on. I really like the style used from Scott Meyers in
his Effective C++ series, or from Herb Sutter's Exceptional C++, but
after a quick look I did not find anything similar for Python...

Best regards.
I agree with Rick. "Core Python Programming" by Chun is pretty good.
However, Lutz's "Programming Python" is also very good and has a few
big example programs to walk through. You might also find the Python
Cookbooks handy.

There's also "Python Power!" by Matt Telles, which is more of a
reference book although not quite as dry as "Python Essential
Reference" was.

Mike
Jun 27 '08 #5

P: n/a
On Jun 3, 6:42 pm, Mike Driscoll <kyoso...@gmail.comwrote:
On Jun 3, 5:45 am, V <vdu...@gmail.comwrote:
Hi Matt,
and thank you very much for your answer.
Hm, depends of course, how good your programming skills are in the
languages you knwo already, but I rely on the book "Beginning Python -
From Novice to Professional" by Magnus Lie Hetland, published by Apress.
I think that I'm interested in a more advance book, ideally one that
talk of the Python gotchas, traps, pitfall, idioms, performance,
stile, and so on. I really like the style used from Scott Meyers in
his Effective C++ series, or from Herb Sutter's Exceptional C++, but
after a quick look I did not find anything similar for Python...
Best regards.

I agree with Rick. "Core Python Programming" by Chun is pretty good.
However, Lutz's "Programming Python" is also very good and has a few
big example programs to walk through. You might also find the Python
Cookbooks handy.

There's also "Python Power!" by Matt Telles, which is more of a
reference book although not quite as dry as "Python Essential
Reference" was.

Mike

The Python Cookbook - printed version - I've read it - is a very good
book on the lines of what you're looking for, IMO. If you go by its
title, it might not sound like a book in the Effective Series (I've
read Effective C++ too and agree that its excellent), but it actually
is something quite like Effective C++, since its contributors include
many very good Python developers, including Alex Martelli, David
Ascher, Tim Peters, Raymond Hettinger, to name just a few. Though the
explicit goal of the book is not to be a book about idiomatic Python,
the point is that it ends up being a lot like that, since most of the
contributors write idiomatic Python. For example, one idiom that's
mentioned a lot in the book, is about one of Python's greatest
strengths - "smooth signature-based polymorphism" - with good examples
to substantiate it.

Though not a book, you may also find the Python articles by David
Mertz on IBM developerWorks very useful. Go to http://www.ibm.com/developerworks
and search for either "Charming Python" - the name of his Python
column there - or his name - to get the articles.

HTH
Vasudev
-------
Vasudev Ram
Biz site: http://www.dancingbison.com
Quick PDF creation toolkit (in Python, open source):
http://www.dancingbison.com/products.html
Jun 27 '08 #6

P: n/a
V <vd****@gmail.comwrites:
I think that I'm interested in a more advance book, ideally one that
talk of the Python gotchas, traps, pitfall, idioms, performance,
stile, and so on.
I may have missed it but I haven't seen Python in a Nutshell mentioned
in this thread.
Jun 27 '08 #7

P: n/a

On 3 jun 2008, at 09.22, V wrote:
Hi,

I'm a C++, Java and C programmer, and I'm searching for a (preferably
printed) book that teaches me the "Python idioms", i.e. the "Python
way" of doing something.

Ideally, I'm searching for a book like "Effective C++" or "Effective
Java", that does not lose time teaching what is a class, or a
function, or a loop, but that enters into details and describes not
only the "how", but also the "why".

I read the book "Dive into Python", but I found too schematic and not
enough advanced for my interests.

I generally do not like books from O'Reilly, while I prefere those
from Addison Wesley.
O'reilly REALLY got a good book on Python Programming
Programming Python, (3d ed) by Mark Lutz
Best regards.
--
http://mail.python.org/mailman/listinfo/python-list
----------------------------------
Skinheads are so tired of immigration, that they are going to move to
a country that don't accept immigrants!
Tommy Nordgren
to************@comhem.se

Jun 27 '08 #8

P: n/a
Do not neglect the 2008 book, "Object-Oriented Programming in
Python", by Goldwasser and Letscher.
<http://www.prenhall.com/goldwasser/>
<http://www.bestbookdeal.com/book/compare/0136150314/>

Dick Moores

Jun 27 '08 #9

P: n/a

Dick Moores <rd*@rcblue.comwrites:
Do not neglect the 2008 book, "Object-Oriented Programming in Python",
by Goldwasser and Letscher.
<http://www.prenhall.com/goldwasser/>
<http://www.bestbookdeal.com/book/compare/0136150314/>

Dick Moores
I'll note that our book is designed as a "CS1" text, and thus intended
primarly for beginners. So its probably not a match for the original
poster who wants a more advanced Python book. That said, I think its
a great book for those with less experience.

+-----------------------------------------------
| Michael Goldwasser
| Associate Professor
| Dept. Mathematics and Computer Science
| Saint Louis University
| 220 North Grand Blvd.
| St. Louis, MO 63103-2007
Jun 27 '08 #10

P: n/a
On Jun 5, 3:09 am, goldw...@slu.edu (Michael H. Goldwasser) wrote:
Dick Moores <r...@rcblue.comwrites:
Do not neglect the 2008 book, "Object-Oriented Programming in Python",
by Goldwasser and Letscher.
<http://www.prenhall.com/goldwasser/>
<http://www.bestbookdeal.com/book/compare/0136150314/>
Dick Moores

I'll note that our book is designed as a "CS1" text, and thus intended
primarly for beginners. So its probably not a match for the original
poster who wants a more advanced Python book. That said, I think its
a great book for those with less experience.

+-----------------------------------------------
| Michael Goldwasser
| Associate Professor
| Dept. Mathematics and Computer Science
| Saint Louis University
| 220 North Grand Blvd.
| St. Louis, MO 63103-2007
Yes, "Python in a Nutshell" (also by Alex Martelli) and "Programming
Python" (by Mark Lutz) are also quite good, as others have said above.

- Vasudev Ram
http://www.dancingbison.com
Jun 27 '08 #11

This discussion thread is closed

Replies have been disabled for this discussion.