Dabeaz

Dave Beazley's mondo computer blog. [ homepage | archive ]

Wednesday, April 27, 2011

 

Practical Python with Raymond Hettinger

Raymond Hettinger is coming to Chicago May 16-20 to put his unique spin on my Practical Python Programming course. Although that is coming up soon, there is still time to register and a few slots are still available. Needless to say, if you've been looking for a class where you can learn more about Python and improve your skills, you won't find a better class anywhere!

Raymond Hettinger is the same core developer whose name can be found on no fewer than 13 PEPs including a variety of very useful features of modern Python programming. For example, the enumerate() function that lets you keep track of where you are in iteration such as this example that gives you a line number when reading a file:

>>> f = open("data.dat")
>>> for lineno, line in enumerate(f,1):
        ...

Or maybe you like reversing things with the reversed() function:

>>> for x in reversed(seq):
        ...
>>>

Or what about putting a thousands separator on numbers?

>>> x = 123456789
>>> format(x,",")
'123,456,789'
>>>

Or sets?

>>> a = set(['a','b','c'])
>>> b = set(['c','d','e'])
>>> a & b
set(['c'])
>>> a | b
set(['a', 'b', 'c', 'd', 'e'])
>>>

All of these features contain some of Raymond's handiwork. However, that's really only scratching the surface. Maybe you've used various features in the collections or itertools modules. Or maybe you've used generator expressions, one of my favorite Python features. Again, Raymond's work.

Last, but not least, Raymond is a well-known speaker and presenter. I distinctly remember seeing him give one of the most amazing presentations at PyCon UK in 2008 about the inner secrets of Python containers--a talk that left me thinking "I had no idea Python worked like that." At PyCon'2011 Raymond gave a well-received talk about API Design. Update: Raymond is giving no fewer than 6 talks at EuroPython including an invited keynote talk.

So, if you're thinking about learning more about Python, you could certainly read an online tutorial, watch a video, or take a class where an instructor shows up. Or, you can join five other developers for an in-depth class created by the author who wrote one of the most in-depth Python books and presented by a core developer who knows Python inside-out. Needless to say, you won't be disappointed.

As a bonus, if you stick around for Friday afternoon, you can have your head completely exploded by signing up for my Learn Hard Python seminar--a 3 hour tour through some of Python's most advanced features including descriptors, super(), function objects, closures, decorators, context managers, and metaclasses.

Hopefully you'll join Raymond and myself for a great week of Python. More information is available at http://www.dabeaz.com/chicago/index.html.






<< Home

Archives

Prior Posts by Topic

08/01/2009 - 09/01/2009   09/01/2009 - 10/01/2009   10/01/2009 - 11/01/2009   11/01/2009 - 12/01/2009   12/01/2009 - 01/01/2010   01/01/2010 - 02/01/2010   02/01/2010 - 03/01/2010   04/01/2010 - 05/01/2010   05/01/2010 - 06/01/2010   07/01/2010 - 08/01/2010   08/01/2010 - 09/01/2010   09/01/2010 - 10/01/2010   12/01/2010 - 01/01/2011   01/01/2011 - 02/01/2011   02/01/2011 - 03/01/2011   03/01/2011 - 04/01/2011   04/01/2011 - 05/01/2011   05/01/2011 - 06/01/2011   08/01/2011 - 09/01/2011   09/01/2011 - 10/01/2011   12/01/2011 - 01/01/2012   01/01/2012 - 02/01/2012   02/01/2012 - 03/01/2012   03/01/2012 - 04/01/2012   07/01/2012 - 08/01/2012   01/01/2013 - 02/01/2013   03/01/2013 - 04/01/2013   06/01/2014 - 07/01/2014   09/01/2014 - 10/01/2014  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]