Python DevCenter
oreilly.comSafari Books Online.Conferences.


advertisement


Python Topics


Atom 1.0 Feed RSS 1.0 Feed RSS 2.0 Feed

Atom 1.0 Feed RSS 1.0 Feed RSS 2.0 Feed





News


PyMOTW: pyclbr
by Doug Hellmann
pyclbr can scan Python source to find classes and stand-alone functions. The information about class, method, and function names and line numbers is gathered using tokenize without importing the code.

PyMOTW: robotparser
by Doug Hellmann
robotparser implements a parser for the robots.txt file format, including a simple function for checking if a given user agent can access a resource. It is intended for use in well-behaved spiders or other crawler applications that need to either be throttled or otherwise restricted.

PyMOTW: gettext
by Doug Hellmann
The gettext module provides an all-Python implementation compatible with the GNU gettext library for message translation and catalog management.

PyMOTW: json
by Doug Hellmann
The json module provides an API similar to pickle for converting in-memory Python objects to a serialized representation known as "JavaScript Object Notation".

Visualizing the U.S. Senate Social Graph, 1991 - 2009 [Part 1]
by Andrew Odewahn
Arlen Specter's party switch was big news, but a quick visualization technique shows it was a long time coming. What other surprises might lurk in the Senate Social graph?

PyMOTW: multiprocessing, part 2 - Communication between processes with multiprocessing
by Doug Hellmann
As with threads, a common use pattern for multiple processes is to divide a job up among several workers to run in parallel. A simple way to do that with multiprocessing is to use Queues to pass messages back and forth. Any pickle-able object can pass through a multiprocessing Queue. This is part 2 of coverage of the multiprocessing module. If you missed part one, you may want to start there.

PyMOTW: multiprocessing, part 1
by Doug Hellmann
A look at multiprocessing basics. The multiprocessing module includes a relatively simple API for dividing work up between multiple processes based on the API for the threading module.

Simplify business research with Google Ajax Search API
by Andrew Odewahn
Business research usually starts with a list -- brands, competitors, people, products, whatever. This post describes a quick Python script that uses the Google Search API to automate the routine parts of the task, giving you more time to analyze and understand the results.

The App Engine Birds of a Feather at Pycon 2009
by Charles Severance
This was my second Pycon - since the last two have been in Chicago and on a weekend it has been an easy drive for me to attend coming from Michigan. Since last year was my first time at Pycon...

PyCon 2009 and Looking to WSGI 2.0
by Eric Larson
I just returned from PyCon in Chicago. During the conference open spaces there was an open space discussing potential changes for WSGI. The three basic ideas were: Return a tuple with the status, headers, and response instead using the start...

PyMOTW: asyncore
by Doug Hellmann
The asyncore module includes tools for working with I/O objects such as sockets so they can be managed asynchronously (instead of, for example, using threads).

Writing Technical Documentation with Sphinx, Paver, and Cog
by Doug Hellmann
I've been working on the Python Module of the Week series since March of 2007. During the course of the project, my article style and tool chain have both evolved. I now have a fairly smooth production process in place,...

Zine: Python Blogging Software by Armin Ronacher
by Noah Gift
Attention, users of Blogging Software, like Word Press, there is now a serious Python competitor, Zine. The lead developer is Armin Ronacher, a wunderkind Python developer it seems, he is still in college, yet has written an amazing slew of...

The Evolution of Python 3
by chromatic
The Python core developers released Python 3.0 in December 2008, following closely behind Python 2.6. Python creator Guido van Rossum generously agreed to discuss the present and future of the popular programming language, as well as the history of the Python 3.0 revision.

Learning Haskell
by Eric Larson
Real World Haskell has revealed a huge gap in my experience with functional languages as well as presented me with an opportunity to make major strides towards growing as a programmer.

Introducing PyXML Introducing PyXML
In the second Python and XML column, Uche Ogbuji introduces PyXML, the add-on XML library which builds upon Python's core XML support. (Sep 25, 2002)




Python Cookbook Recipe of the Day

You need to fork a daemon process on a Unix or Unix-like system, which, in turn, requires a certain precise sequence of system calls.

Do it now.


Python Resources
  • Python Cookbook
  • Python.org
  • Starship Python
  • Daily Python URL



  • O'Reilly Network Blogs

    Loghetti: an apache log file filter in Python As announced earlier on my personal blog, I launched an open source project on Google Code called "loghetti". It's written in Python, and is a foundation for what I hope will become a very flexible tool to help admins (myself… read more Brian K. Jones


    Scale(1), Scale(2), ... Scale(n) Ted Neward attempted to pull apart some of the silliness in the debate over scalability with Can Dynamic Languages Scale?. In particular, one of the most important insights is: There's an implicit problem with using the word "scale" here, in… read more chromatic


    TIOBE declares Python as programming language of 2007 I really don't know what this means, but here is the page that contains the headline. Further down in the page are a few details regarding the announcement. Here are those details: Python has been declared as programming language of… read more Jeremy Jones


    setuptools tip - script creation My last two blog posts on egg-related topics had a title prefix of "easy_install tip". This post is related, but since it's handled with setuptools rather than easy_install, I'm prefixing it accordingly. Have you ever wondered how various packages you… read more Jeremy Jones


    TMTOWTDI -> The Right Way to Do It J. David Blackstone has a pointed journal post entitled The Right Way To Do It which praises Perl's "There's More Than One Way To Do It" philosophy: TMTOWTDI is anarchy. It scares people who want to keep order by force. Allowing people… read more chromatic


    You Can Use Statistics To Prove Anything That's Remotely True (TIOBE 2008) "Perl is dead", crows TIOBE's January 2008 index. The world belongs to Python. You see what you want to see in statistics though. For example, you could compare Perl, Python, PHP, and Ruby job trends. Don't drop those sigils yet.… read more chromatic


    TPT (Tiny Python Tip): Virtualenv Google Group Ian Bicking just created a Google Group for Virtualenv here, and a bug tracker at launchpad for virtualenv here. I also have slides from a talk at Pyatl here Links: noahgift.com My O'Reilly Feed Virtualenv Google Group Virtualenv Launchpad Bug Tracker Virtualenv Package Information Virtualenv Slides Noah Gift


    More ONLamp Posts



    Sponsored by: