Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

*Advanced* Python book?

5 views
Skip to first unread message

mk

unread,
Jan 16, 2009, 3:27:03 PM1/16/09
to pytho...@python.org
Hello everyone,

I looked for it I swear, but just can't find it.

Most Python books seem to focus on examples of how to call functions
from standard library. I don't need that, I have online Python
documentation for that.

I mean really advanced mental gymnastics, like gory details of how
Python objects operate, how to exploit its dynamic capabilities, dos and
donts with particular Python objects, advanced tricks, everything from
chained decorators to metaprogramming. Dive Into Python comes closest to
this ideal from what I have found, but still not far enough.

Anybody found such holy grail?

Regards,
mk

Message has been deleted

Paul Rubin

unread,
Jan 16, 2009, 5:25:56 PM1/16/09
to
mk <mrk...@gmail.com> writes:
> I mean really advanced mental gymnastics, like gory details of how
> Python objects operate, how to exploit its dynamic capabilities, dos
> and donts with particular Python objects, advanced tricks, everything
> from chained decorators to metaprogramming. Dive Into Python comes
> closest to this ideal from what I have found, but still not far enough.
>
> Anybody found such holy grail?

The favorite ones around here are "Python Cookbook" and "Python in a
Nutshell", both by Alex Martelli, who used to be a newsgroup regular
and still stops by from time to time.

andrew cooke

unread,
Jan 16, 2009, 8:11:07 PM1/16/09
to

not direct answers, but....

reading through the recipes can be interesting -
http://code.activestate.com/recipes/langs/python/

also, reading any good computing book and then wondering how you can
do that in python can help shed a new light on things.

andrew

Scott David Daniels

unread,
Jan 17, 2009, 1:04:29 AM1/17/09
to
Paul Rubin wrote:
> mk <mrk...@gmail.com> writes:
>> .... Anybody found such holy grail?

>
> The favorite ones around here are "Python Cookbook" and "Python in a
> Nutshell", both by Alex Martelli, who used to be a newsgroup regular
> and still stops by from time to time.

To the OP:

Do yourself a favor and go to a bookstore and read a chapter or
two of the cookbook. While you can see the recipes on activestate,
there is a _lot_ of value added in (1) the selection, (2) the
editing for a more consistent style, and (3) the chapter intros
by people chosen for their knowledge on the chapter's subject.

--Scott David Daniels
Scott....@Acm.Org

Michele Simionato

unread,
Jan 17, 2009, 1:47:20 AM1/17/09
to

"Expert Python Programming" by Tarek Ziadé is quite good and I wrote
a review for it:

http://www.artima.com/weblogs/viewpost.jsp?thread=240415

There is plenty of info about Advanced Python on the net, much more
than in book form. Come to think of it, there are my Oxford lectures
(the title was exactly "Advanced Python Programming") and I could
republish it on my blog, since I cannot find them on the net anymore.

Michele Simionato

Luis M. González

unread,
Jan 17, 2009, 7:51:46 AM1/17/09
to

I believe that any book will give you enough information about
python's objects behaviour.
But if you want to understand the more esoteric aspects of python (I'm
in the same situation),
perhaps you should investigate decorators and metaclasses.
A good starting point is the 3 article series in decorators by Bruce
Eckel in Artima ( http://www.artima.com/weblogs/viewpost.jsp?thread=240808
).

I second the suggestion of reading samples and cookbooks, for example
in ActiveState's site.
I found particularly interesting one that shows how to implement an
ORM under 100 lines ( http://code.activestate.com/recipes/496905/ ).
This script goes deep into black magic and it's clear enough to grasp.

Luis

Simon Brunning

unread,
Jan 18, 2009, 6:35:04 PM1/18/09
to pytho...@python.org
2009/1/17 Michele Simionato <michele....@gmail.com>:

> "Expert Python Programming" by Tarek Ziadé is quite good and I wrote
> a review for it:
>
> http://www.artima.com/weblogs/viewpost.jsp?thread=240415

+1 for this. I'm 3/4 of the way through it, it's pretty good. Covers
many on the important areas that the more introductory books rightly
leave out,

--
Cheers,
Simon B.

Jeff McNeil

unread,
Jan 19, 2009, 1:25:48 PM1/19/09
to
On Jan 18, 6:35 pm, Simon Brunning <si...@brunningonline.net> wrote:
> 2009/1/17 Michele Simionato <michele.simion...@gmail.com>:


I keep a copy of "Python In A Nutshell" on my desk at all times. Most
of my books are in great shape, but this one is ripped all to hell.
The sign of a good book. It covers just about everything, though not
all in extreme depth. It's a great book!

I've been writing Python for about 4 years now and over the week or so
I've caught the "I should know more about the internals" bug. As a
result, I've been trying to trace the interpreter from the start of
the main function through user code execution. Getting to fully
understand the C API and the actual CPython implementation is
something I wish I would have done years ago. I'd suggest you do that
if you get the chance.

Banibrata Dutta

unread,
Jan 20, 2009, 12:44:55 AM1/20/09
to michele....@gmail.com, pytho...@python.org
2009/1/17 Michele Simionato <michele....@gmail.com>:

> "Expert Python Programming" by Tarek Ziadé is quite good and I wrote
> a review for it:
>
> http://www.artima.com/weblogs/viewpost.jsp?thread=240415

Excellent review.

--
regards,
Banibrata
http://www.linkedin.com/in/bdutta

Ethan Furman

unread,
Mar 25, 2010, 8:28:22 AM3/25/10
to Michele Simionato, pytho...@python.org
Michele Simionato wrote:
> On Jan 16, 9:27 pm, mk <mrk...@gmail.com> wrote:
>
>>Hello everyone,
>>
>>I looked for it I swear, but just can't find it.
>>
>>Most Python books seem to focus on examples of how to call functions
>>from standard library. I don't need that, I have online Python
>>documentation for that.
>>
>>I mean really advanced mental gymnastics, like gory details of how
>>Python objects operate, how to exploit its dynamic capabilities, dos and
>>donts with particular Python objects, advanced tricks, everything from
>>chained decorators to metaprogramming. Dive Into Python comes closest to
>>this ideal from what I have found, but still not far enough.
>>
>>Anybody found such holy grail?
>
> "Expert Python Programming" by Tarek Ziadé is quite good and I wrote
> a review for it:
>
> http://www.artima.com/weblogs/viewpost.jsp?thread=240415
>
> There is plenty of info about Advanced Python on the net, much more
> than in book form. Come to think of it, there are my Oxford lectures
> (the title was exactly "Advanced Python Programming") and I could
> republish it on my blog, since I cannot find them on the net anymore.
>
> Michele Simionato

Michele,

Was wondering if you'd had a chance to re-post your lectures -- just did
a search for them and came up empty, and I would love to read them!

Many thanks in advance!

~Ethan~

Michele Simionato

unread,
Mar 25, 2010, 9:24:04 AM3/25/10
to
On Mar 25, 1:28 pm, Ethan Furman <et...@stoneleaf.us> wrote:
>
> Michele,
>
> Was wondering if you'd had a chance to re-post your lectures -- just did
> a search for them and came up empty, and I would love to read them!
>
> Many thanks in advance!

Oops, I forgot! I will try to make them available soon.

Michele Simionato

unread,
Mar 26, 2010, 4:22:54 AM3/26/10
to
On Mar 25, 2:24 pm, Michele Simionato <michele.simion...@gmail.com>
wrote:


Here they are: http://www.phyast.pitt.edu/~micheles/oxford-lectures.zip

Lacrima

unread,
Mar 27, 2010, 2:10:59 AM3/27/10
to
On Mar 26, 10:22 am, Michele Simionato <michele.simion...@gmail.com>

Hello, Michele!
Thanks a lot for posting!!!

0 new messages