473,322 Members | 1,736 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,322 software developers and data experts.

the one python book

dhr
newbie question:

Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?

Aug 4 '07 #1
15 1862
On 4 Sie, 15:23, "dhr" <dima.hris...@gmail.comwrote:
newbie question:

Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?
There are actually two of them:

"How to Think Like a Computer Scientist: Learning with Python" by
Allen B. Downey, Jeffrey Elkner and Chris Meyers
http://www.ibiblio.org/obp/thinkCSpy/

and

"Dive Into Python" by Mark Pilgrim
http://diveintopython.org/toc/index.html

Hope this helps :-)

Cheers and good luck,
Marek

Aug 4 '07 #2
In article <ma***************************************@python. org>,
dhr <di**********@gmail.comwrote:
>
newbie question:

Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?
There really aren't any, assuming you're comfortable reading web-based
material. If it's important to you to have a reference book, probably
_Python in a Nutshell_ would be best. If you're looking for a tutorial,
I'll plug my own _Python for Dummies_. ;-)
--
Aahz (aa**@pythoncraft.com) <* http://www.pythoncraft.com/

This is Python. We don't care much about theory, except where it intersects
with useful practice.
Aug 4 '07 #3
On Aug 4, 8:23 am, "dhr" <dima.hris...@gmail.comwrote:
newbie question:

Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?
I second the comment about the Official Python Tutorial, however you
did say, "on the shelf" in which case I would recommend:

Python Essential Reference, David Beazley, 3rd edition Feb 2006
great, esp. if you already know some other programming language.

http://tinyurl.com/38f5mh

rd

Aug 4 '07 #4
On 2007-08-04, dhr <di**********@gmail.comwrote:
newbie question:

Is there a 'K&R" type of Python book? The book that you'd
better have on your shelf if you are going into Python?
C is such a small language that the same slim volume can be both
a great tutorial and an awesome language reference.

With Python, you won't find anything like that. Python is too
huge.

So get used to the idea of needing several books. ;)

--
Neil Cerutti
Aug 4 '07 #5
On Aug 4, 9:32 am, Neil Cerutti <horp...@yahoo.comwrot
With Python, you won't find anything like that. Python is too
huge.
That's silly. Python is small in the sense that C is small. The Python
standard library is probably much bigger than the C standard library,
but Kernghan and Richie don't cover it.

K&R is a unique book. I have never seen anything comparable for any
language. The closest Python equivalent is the official docs:

http://docs.python.org/

I think the core Python bookshelf is:

Learning Python (Lutxz & Ascher) and/or
Dive Into Python (Pilgrim) for tutorial

Python in a Nutshell (Martelli) AND
Python Essential Reference (Beazley) for reference

The latter two books are not perfect (both indexes are infuriating)
but I usually find that I can find what I am looking for in one or the
other.

Like most people I eventually plan to read Moby Dick, War and Peace,
and Lutz's Programming Python. Maybe when I retire.

mt

Aug 4 '07 #6
On 2007-08-04, Michael Tobis <mt****@gmail.comwrote:
On Aug 4, 9:32 am, Neil Cerutti <horp...@yahoo.comwrot
>With Python, you won't find anything like that. Python is too
huge.

That's silly. Python is small in the sense that C is small.
What way of measuring makes that true?
The Python standard library is probably much bigger than the C
standard library, but Kernghan and Richie don't cover it.
The complete standard library, plus some Unix-centered stuff is
covered in K&R. Python compares closely to C++ in the scope of
its built-in features.
K&R is a unique book. I have never seen anything comparable for
any language.
That's partly because C is so small, though. Also Kernighan is a
good technical writer. I'm not sure of Ritchie's contribution, as
I haven't read any other books he wrote.
The closest Python equivalent is the official docs:

http://docs.python.org/

I think the core Python bookshelf is:

Learning Python (Lutxz & Ascher) and/or
Dive Into Python (Pilgrim) for tutorial

Python in a Nutshell (Martelli) AND
Python Essential Reference (Beazley) for reference

The latter two books are not perfect (both indexes are
infuriating) but I usually find that I can find what I am
looking for in one or the other.
That's an excellent list.
Like most people I eventually plan to read Moby Dick, War and
Peace, and Lutz's Programming Python. Maybe when I retire.
Don't forget Rarnaby Budge, by Charles Dikkens, the well known
Dutch author.

--
Neil Cerutti
Aug 4 '07 #7
On Aug 4, 8:23 am, "dhr" <dima.hris...@gmail.comwrote:
newbie question:

Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?
I would recommend "Programming Python 3rd Ed." by Lutz or "Core Python
Programming" by Chun. Lutz has more examples than Chun, but Chun has
lots of good information about the language's history. Both authors
share interesting facts about the language, some of which are pretty
obscure. Lutz has good case studies though, so it may be slightly more
valuable.

Mike

Aug 4 '07 #8
On Sat, 2007-08-04 at 15:10 +0000, Michael Tobis wrote:
Like most people I eventually plan to read Moby Dick, War and Peace,
and Lutz's Programming Python. Maybe when I retire.
LOL. Lutz's Programming Python is actually how I learned Python.

Aug 4 '07 #9
Michael Tobis <mt****@gmail.comwrites:
On Aug 4, 9:32 am, Neil Cerutti <horp...@yahoo.comwrot
>With Python, you won't find anything like that. Python is too
huge.

That's silly. Python is small in the sense that C is small. The Python
standard library is probably much bigger than the C standard library,
but Kernghan and Richie don't cover it.
>
K&R is a unique book. I have never seen anything comparable for any
That's very true.
language. The closest Python equivalent is the official docs:

http://docs.python.org/

I think the core Python bookshelf is:

Learning Python (Lutxz & Ascher) and/or
Dive Into Python (Pilgrim) for tutorial
I can recommend (for a big fat reference at a good price) "Programming
Python" by Mark Lutz from O'Reilly.
>
Python in a Nutshell (Martelli) AND
Python Essential Reference (Beazley) for reference

The latter two books are not perfect (both indexes are infuriating)
but I usually find that I can find what I am looking for in one or the
other.

Like most people I eventually plan to read Moby Dick, War and Peace,
and Lutz's Programming Python. Maybe when I retire.
Aha. You heard of it :-;
>
mt
--
Aug 4 '07 #10
On Aug 4, 8:23 am, "dhr" <dima.hris...@gmail.comwrote:
newbie question:

Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?
I thought Python Essential Reference was helpfull but It doesn't work
that well without another book to go with it.. I used the internet
alot o get examples with the book as a reference..

Aug 5 '07 #11
* dhr (Sat, 4 Aug 2007 16:23:49 +0300)
Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?
For Tutorials STFW but the one and only book is definitely "Python in
a Nutshell" from Alex "Python" Martelli. Get the second edition.

The other book I would go for is the "Python Cookbook" from Martelli
and others.

Thorsten
Aug 5 '07 #12
On Aug 4, 7:23 am, "dhr" <dima.hris...@gmail.comwrote:
newbie question:

Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?
Personally, I have two paths for you to take.

If you are a programmer already, then I would recommend that you buy
Python in a Nutshell. It is actually a very concise book for people
who just want to know what the language provides. I would actually
recommend stopping once you get to the library reference and I would
make sure look into classes. After you done with that day-long read, I
would get your hands on the newest version of "Progamming
Python" (O'Reilly). It has a lot of practical applications for Python
and it is *not* a one-day read. It is enormous and it skips around a
lot. I like it because it is doesn't necessarily stick to one topic so
you pick up a lot of tricks along the way. It gets you started off
learning some sweet c-style OS functions. If you don't know just about
everything about Python by the end of that book, I would be very
surprised.

BTW, almost all of the Nutshell books have been fabulous. They kind of
put it out there for you to suck up like a vacuum. The only failure in
my opinion is the PHP nutshell . . . Since you even know hwo K&R (good
job) is, then I assume you know how to program and are ready to skip
all the crap.

Best of luck,
Travis

Aug 5 '07 #13
On Aug 4, 7:23 am, "dhr" <dima.hris...@gmail.comwrote:
>
newbie question:
Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?
Python in a Nutshell, the Python Cookbook and Programming Python are
all very good, IMO. Programming Python comes with a CD of all the
source code in the book (at least the 2nd edition did, as well as
Python language - this can save you some time keying in the examples.
Of course, many of the O'Reilly books (and all 3 of these are from
O'Reilly) have links to downloadable source code from them. Just
Google for the name of the book, then in the results, hit the
appropriate link to the O'Reilly site for the book, and look down the
page for the link to the examples' source.

Or (for Programming Python):

http://www.oreilly.com/catalog/python2/
http://www.oreilly.com/catalog/python3/

Vasudev
================================================== ==========
"1 person in 100 understand binary. The other 11 don't."
Vasudev Ram
Biz site: http://www.dancingbison.com
Blog: http://jugad.livejournal.com
PDF creation/construction toolkit:
http://sourceforge.net/projects/xtopdf
================================================== ==========
Aug 5 '07 #14
On Aug 4, 6:23 am, "dhr" <dima.hris...@gmail.comwrote:

Assuming that you already know that a ton of great stuff is on the
web, I'd also recommend 'Programming Python' and 'Python Cookbook'.
'The Python Book' would have to be the Python book ('Programming
Python', cuz it has a python on the cover and covers the python
language, brilliant!....) It's huge and is full of great scripts and,
most importantly, promotes good coding style. Hopefully they've
updated the index tho, since the 2nd edition has an utterly pathetic
index, tho you can still find what you want pretty quickly with just
the toc.

Python Cookbook is necessary because it covers so many little hidden
secrets of python. The section on dateutil is worth the price of the
book alone.

Aug 5 '07 #15
At 10:22 AM 8/5/2007, vasudevram wrote:
On Aug 4, 7:23 am, "dhr" <dima.hris...@gmail.comwrote:
newbie question:
Is there a 'K&R" type of Python book? The book that you'd better have on
your shelf if you are going into Python?

Python in a Nutshell, the Python Cookbook and Programming Python are
all very good, IMO. Programming Python comes with a CD of all the
source code in the book (at least the 2nd edition did, as well as
Python language - this can save you some time keying in the examples.
Of course, many of the O'Reilly books (and all 3 of these are from
O'Reilly) have links to downloadable source code from them. Just
Google for the name of the book, then in the results, hit the
appropriate link to the O'Reilly site for the book, and look down the
page for the link to the examples' source.

Or (for Programming Python):

http://www.oreilly.com/catalog/python2/
http://www.oreilly.com/catalog/python3/
No CD with 3rd edition, but here are the examples:
<http://examples.oreilly.com/python3/>

Dick Moores

======================================
Bagdad Weather
<http://weather.yahoo.com/forecast/IZXX0008_f.html>

Aug 8 '07 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Eduardo Patto Kanegae | last post by:
Hello, I have been programming with Visual Basic and PHP in the last 5 years and some folks had recommended Python a free language.... I had looked for a Python book to start up but found many...
36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
4
by: Tony Ha | last post by:
Hello I am learning Python for in the pass ten months, and have brought a few books about Python. Most of them are good books by its only right, and all of them only teach you how to write...
8
by: David Rasmussen | last post by:
What is the best book for Python newbies (seasoned programmer in other languages)? /David
23
by: herraotic | last post by:
I have been getting ready to learn programming for a long time, installed a GNU/Linux operating system, learnt the ins and outs but I think it is time to pick up a book and learn to now program. ...
23
by: IOANNIS MANOLOUDIS | last post by:
I want to learn python. I plan to buy a book. I always find printed material more convenient than reading on-line tutorials. I don't know PERL or any other scripting language. I only know some...
112
by: mystilleef | last post by:
Hello, What is the Pythonic way of implementing getters and setters. I've heard people say the use of accessors is not Pythonic. But why? And what is the alternative? I refrain from using them...
11
by: John Coleman | last post by:
Greetings, My copy of the second edition of Chun's "Core Python Programming" just arrived from Amazon on Friday. What really jumped out at me is an interesting feature about how it sequences its...
18
by: Amol | last post by:
Hi, I want to learn Python in less than a month which resources should I use. I prefer to read books . Please give me a list of *recognized* resources. Thank You all
6
by: dogatemycomputer | last post by:
Greetings, A friend of mine dropped off a copy of Sams Teach Yourself Python in 24 Hours published in 2000. I skimmed the first couple of chapters looking for the interpreter version and the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.