473,785 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1893
On 4 Sie, 15:23, "dhr" <dima.hris...@g mail.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************ *************** ************@py thon.org>,
dhr <di**********@g mail.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**@pythoncra ft.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...@g mail.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**********@g mail.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.c omwrote:
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...@g mail.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 "Programmin g 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.c omwrites:
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) "Programmin g
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

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

Similar topics

14
2484
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 titles... so, my question finally is: what book could be for a Python beginner - but NOT a programming beginner - which intends to develop *windowed* Python programms and intends to develop for Windows and for Linux? for example, look at Thuban...
36
6404
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 something I'll need in this case is some experience-based set of rules about how to use python in this context. For example... is defining readonly attributes in classes worth the hassle ? Does duck-typing scale well in complex
4
2867
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 Python programs using Python syntax and Python ways, but no one single Python book explicitly teaches you on how to analyst your application, and structure your programmes in a way, so that, it is easy to maintain, easily to reuse, (i.e. use loosely...
8
2379
by: David Rasmussen | last post by:
What is the best book for Python newbies (seasoned programmer in other languages)? /David
23
2141
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. I have never actually programmed before only dabbed into XHTML so do take it in mind that I need a book that could slowly progress me into the fundamentals of programming. I chose Python as my first programming language from hearing the praise...
23
1932
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 BASH programming. I am looking for a book which will help me get started and should contain the foundations. I am not looking for the Python bible. Any recommendations? Ioannis
112
13866
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 because they smell "Javaish." But now my code base is expanding and I'm beginning to appreciate the wisdom behind them. I welcome example code and illustrations.
11
1592
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 topics, namely, (user-defined) functions are not introduced until chapter 11, fully 400 pages into the book. This contrasts strongly with a traditional "Introduction to language X" book which has a chapter sequence roughy like: Chapter 1) Intro...
18
1942
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
1260
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 book was based on version Python version 1.5. Is this book still relevant? Should I toss it and look for something newer?
0
10350
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9957
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8983
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7505
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5518
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.