tags:

views:

587

answers:

6

Can someone suggest an advanced Python book? I want a book that covers topics such as threading, networking, memory management and so on.

+11  A: 

I find "Python Essential Reference" useful. It is a great reference and general language book.

http://www.amazon.com/Python-Essential-Reference-David-Beazley/dp/0672329786

klynch
+1: Dabeaz does a great job explaining many of Python's built-ins and finer points.
ewall
I second that one, written by David Beazley (SWIG), it gives a very good idea of how to use Python efficiently and optimize the code.
RedGlyph
+1: Dabeaz - I just wish for a soft copy..
rh0dium
+4  A: 

The python cookbook is a good repository of examples, though some of them are getting a bit long in the tooth these days. The second edition is newer (2005), though it is targeted to 2.4.

http://www.amazon.com/Python-Cookbook-Alex-Martelli/dp/0596007973/

http://oreilly.com/catalog/9780596007973/

Paul McMillan
Another good Alex Martelli book is http://oreilly.com/catalog/9780596001889 Hopefully he'll do an edition for Python3
gnibbler
+9  A: 

For the topics you described, you need to understand operating systems more than python. Once the OS level becomes clear, the Python code is quite obvious.

This is one of the best books ever written:

Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series) (Paperback)

ISBN-10: 0321525949
ISBN-13: 978-0321525949

5 star amazon reviews (I'd give it 6).

Once I realized that networking, file I/O, shared memory, IPC, sockets, signals, etc... are all provided by the OS layer, then this became the answer to a lot of questions.

Then going back to python, you understand what all the stuff in the os module means, and can write really advanced programs with ease.

gahooa
Thanks it looks great :)
giolekva
You can link to Amazon if you so wish.
KingNestor
It sure would be nice to be able to add "tags" to a specific answer; I'd tag this one "c", "c++", "ruby", "perl", "bash", "unix", "linux" ... :)
Kevin Little
A: 

Dive into python - and it is free.

Chris J
I wouldn't call a book with a chapter titled "Your First Python Program" an advanced book.
foosion
+4  A: 

Expert Python Programming. it covers not just the general best practices (generators, iterators, etc) but then the real stuff you need to build a project -- documentation w/ restructured text & sphinx, testing with nose, buildout, setuptools, etc.

Autoplectic
A: 
slav0nic
Seriously Dive Into Python can not be considered as 'Advanced' Python book.
jpartogi