473,288 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,288 software developers and data experts.

Books for programmers

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
10 1572
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
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
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
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
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
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

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
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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dan | last post by:
I am looking for two good books: a php4 one and a php4 with db one. I see that "Beginning PHP4" and "Beginning PHP4 Databases" are a series but "Beginning PHP4" got a bad review on amazon...
8
by: noid droid | last post by:
Hi. I posted yesterday asking if C# lived up to the hype. Thus far the feedback has been all positive. (Thanks.) Can anyone suggest GOOD books for learning C# and the Visual Studio .NET IDE? ...
23
by: Carter Smith | last post by:
http://www.icarusindie.com/Literature/ebooks/ Rather than advocating wasting money on expensive books for beginners, here's my collection of ebooks that have been made freely available on-line...
29
by: Jhon smith | last post by:
Hi,all,I was just wondering if I am likly to have any problems trying to learn C from older books,I have some from the late 80`s,mid/late 90`s. I am using Dev-C++ on the pc windows platform,But I...
9
by: Michael A. Covington | last post by:
What books would you recommend for students who want to learn programming in C# and have not previously mastered a related language (Java, C++, Pascal, etc.)? -- Michael A. Covington -...
8
by: Fredrik Wahlgren | last post by:
Hi I'm currently learning .NET. I need to know more about the .NET framework. The only book I have found for C++ programmers is one by Kate Gregory. What other books are there for C++...
9
by: Brett | last post by:
I'd like suggestions on great VB.NET books. This seems to be a great book, 'Programming Microsoft Visual Basic .NET Version 2003',...
4
by: Magnus Lycka | last post by:
While I work at a company that uses Python a lot (and would have had a hard time finding such a place a few years ago) I don't really have a clear opinion on whether Python's marketshare (or...
26
by: puzzlecracker | last post by:
It'd be interesting to compare the learning practices of c++ practitioners. I'll start with mine The C++ Programming Language C++ Primer Effective C++ More Effective C++ Effective STL The...
12
by: Eps | last post by:
I am starting a new job that involves programming in c# and using ASP.net. I have some experience with c# but have little knowledge of ASP, I would like to get a book about each so I can get some...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.