PyMOTW
Python Module of the Week
Version 1.60
Released: Sun Jun 29 12:28:35 2008
Release Details
Download
Download version
1.60
Archived Articles
- PyMOTW: SimpleXMLRPCServer (2008-06-29)
- The
SimpleXMLRPCServer module makes it easy to use remote procedure calls in Python that work with many other languages, too. ...
- PyMOTW: warnings (2008-06-22)
- Manage non-error alerts through the
warnings module. ...
- PyMOTW: platform (2008-06-15)
- Probe the underlying platform's architecture and version information with the
platform module. ...
- PyMOTW: dircache (2008-06-08)
- The
dircache module includes a function for caching directory listings. ...
- PyMOTW: Cookie (2008-06-01)
- The
Cookie module defines classes for parsing and creating HTTP cookie headers. ...
- PyMOTW: contextlib (2008-05-25)
- The
contextlib module contains utilities for working with context managers and the with statement. ...
- PyMOTW: traceback (2008-05-18)
- The
traceback module contains functions for producing error messages with stack traces. ...
- PyMOTW: heapq (2008-05-11)
- The
heapq implements a min-heap sort algorithm suitable for use with Python's lists. ...
- PyMOTW: cmd (2008-05-04)
- The
cmd module contains a base class for creating command interpreters. ...
- PyMOTW: functools (2008-04-27)
- The
functools module includes tools for wrapping functions and other callable objects. ...
- PyMOTW: filecmp (2008-04-20)
- Compare files and directories easily with the
filecmp module. ...
- PyMOTW: fnmatch (2008-04-13)
- Handle Unix-style filename comparison with the
fnmatch module. ...
- One year of "The Python Module of the Week" (2008-04-06)
- It's a bit passé to recognize blogging anniversaries, but as it's my first I'm going to do a little
navel gazing retrospecting anyway. :-) ...
- PyMOTW: operator (2008-04-06)
- The
operator module contains functions that perform the same operations as man of the built-in operators. ...
- PyMOTW: urllib (2008-03-30)
- The urllib module provides a simple interface for network resource access. ...
- PyMOTW: collections (2008-03-23)
- The
collections module includes container data types beyond the builtin types list and dict. ...
- Which module should I write about next? (2008-03-17)
- I had some great feedback about the PyMOTW series from several of you at PyCon this weekend. Unfortunately, when I put you on the spot, no one had suggestions for what to write about next. I've been going through the library more or less randomly, and in the absence of a better idea I can continue with that plan. On the other hand, if there's a topic that you would really like more details on, let me know and I'll try to bump it up in the queue. My regular work schedule is pretty slammed right now, so smaller (or simpler) modules will be given higher priority than anything like
re or socket, both of which have entire books written about them. ...
- PyMOTW: datetime (2008-03-16)
- The
datetime module includes functions and classes for doing date parsing, formatting, and arithmetic. ...
- PyMOTW: time (2008-03-09)
- The
time module provides functions for working with dates and times. ...
- PyMOTW: EasyDialogs (2008-03-02)
- Use
EasyDialogs to include Mac OS-native dialogs in your Python scripts. ...
- PyMOTW: imp (2008-02-24)
- The
imp module exposes the implementation of Python's import statement. ...
- PyMOTW: pkgutil (2008-02-17)
- Alter the search path for a specific package using
pkgutil. ...
- PyMOTW: tempfile (2008-02-10)
- Securely generate temporary files and directories with the
tempfile module. ...
- PyMOTW: string (2008-02-03)
- Although most of the functions it used to contain have moved to methods of string and unicode objects, the
string module still contains several useful items. ...
- PyMOTW: os.path (2008-01-27)
- Use
os.path for platform-independent manipulation of file names. ...
- PyMOTW: hashlib (2008-01-20)
- Generate cryptographically secure hashes with
hashlib. ...
- PyMOTW: threading (2008-01-13)
- The
threading module lets you run multiple operations concurrently in the same process space. ...
- PyMOTW: weakref (2008-01-06)
- The
weakref module lets you refer to an object without preventing it from being garbage collected. ...
- PyMOTW: mmap (2007-12-30)
- Map files directly to memory using
mmap. ...
- PyMOTW: zipimport (2007-12-22)
- The
zipimport module can be used to import and run Python code found inside ZIP archives. ...
- PyMOTW: zipfile (2007-12-16)
- The
zipfile module can be used to manipulate ZIP archive files. ...
- PyMOTW: BaseHTTPServer (2007-12-09)
- The
BaseHTTPServer module includes classes which can form the basis of a web server. ...
- PyMOTW: SocketServer (2007-12-02)
- The
SocketServer module is a framework for creating network servers. It provides base classes for handling TCP, UDP, Unix streams, and Unix datagrams and supports both threading and forking servers, depending on what is most appropriate for your situation. ...
- PyMOTW: inspect (2007-11-25)
- The
inspect module provides a variety of functions for introspecting on live objects and their source code. ...
- PyMOTW: urlparse (2007-11-18)
- The urlparse module provides an interface for splitting up Uniform Resource Locator strings into their parts. ...
- PyMOTW: pprint (2007-11-10)
- The pprint module includes a "pretty printer" for producing aesthetically pleasing representations of your data structures. ...
- PyMOTW: shutil (2007-11-04)
- The shutil module includes high-level file operations such as copying, setting permissions, etc. ...
- PyMOTW Feed temporarily broken, but fixed (2007-11-02)
- PyMOTW: commands (2007-10-28)
- The commands module contains utility functions for working with shell command output under Unix. ...
- PyMOTW: itertools (2007-10-20)
- The itertools module includes a set of functions for working with iterable (sequence-like) data sets. ...
- PyMOTW: shlex (2007-10-14)
- The shlex module can be used to create mini-languages using simple syntaxes like the Unix shell. It is also handy for parsing quoted strings. ...
- PyMOTW: difflib (2007-10-07)
- The difflib module contains several classes for comparing sequences, especially of lines of text from files, and manipulating the results. ...
- PyMOTW: copy (2007-09-30)
- The copy module provides functions for duplicating objects using shallow or deep copy semantics. ...
- PyMOTW: sched (2007-09-25)
- The sched module implements a generic event scheduler for running tasks at specific times. ...
- PyMOTW: timeit (2007-09-20)
- The timeit module provides a simple interface for determining the execution time of small bits of Python code. It uses a platform-specific time function to provide the most accurate time calculation possible. ...
- hmac (2007-09-12)
- The hmac module implements keyed-hashing for message authentication, as described in RFC-2104.
- unittest (2007-09-03)
- Automatic testing framework.
- optparse (2007-08-27)
- Command line option parser to replace getopt.
- csv (2007-08-20)
- Read and write comma separated value files.
- PyMOTW on O'Reilly ONLamp (2007-08-16)
- I'm pleased to bring the Python Module of the Week series to the O'Reilly ONLamp site. ...
- getopt (2007-08-12)
- Command line option parsing
- shelve (2007-08-05)
- The shelve module implements persistent storage for arbitrary Python objects which can be pickled, using a dictionary-like API.
- glob (2007-07-29)
- Use Unix shell rules to fine filenames matching a pattern.
- calendar (2007-07-22)
- The calendar module implements classes for working with dates to manage year/month/week oriented values.
- getpass (2007-07-15)
- Prompt the user for a value, usually a password, without echoing what they type to the console.
- atexit (2007-07-08)
- Register function(s) to be called when a program is closing down.
- subprocess (2007-07-01)
- Spawn and communicate with additional processes.
- pickle and cPickle (2007-06-24)
- Python object serialization
- os (4/4) (2007-06-17)
- fork() and exec()
- os (3/4) (2007-06-10)
- Files and directories
- os (2/4) (2007-06-03)
- Pipes
- os (1/4) (2007-05-27)
- Process management
- locale (2007-05-20)
- POSIX cultural localization API
- logging (2007-05-13)
- Provide a standard interface for Python modules to report status, error, and informational messages.
- PyMOTW: Example code (2007-05-13)
- All of the example code for the Python Module of the Week series is available for download. You can download it directly, or use easy_install to grab it from PyPI. ...
- bisect (2007-05-06)
- Maintains a list in sorted order without having to call sort each time an item is added to the list.
- linecache (2007-04-29)
- Retrieve lines of text from files or imported python modules, holding a cache of the results to make reading many lines from the same file more efficient.
- textwrap (2007-04-22)
- Formatting text by adjusting where line breaks occur in a paragraph.
- StringIO and cStringIO (2007-04-15)
- Work with text buffers using file-like API
- Queue (2007-04-08)
- Provides a thread-safe FIFO implementation
- ConfigParser (2007-04-01)
- The ConfigParser module is very useful for creating user-editable configuration files for your applications.
- fileinput (2007-03-25)
- A very useful module for creating command line programs for processing text files in a filter-ish manner.