Python Cookbook

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Z]

Mac OS X

     line-termination characters     PDF files, counting pages in

     system information, gathering Mac OS, getting user input on

mailbox files, selectively copying mailbox modules

mailboxes     building whitelist of email addresses from     POP3, malformed messages 2nd

make_xlat function makefile method, textual data source maketrans function

     string filtering

malware

mappings

     partial, changing into full marshal module

     limitations

     serializing data     use cases for

Medusa     using with XML-RPC

medusa package Meerkat service memoization 2nd

     implementing __deepcopy__ method

memory

     debugging problems

     file-based transformations

     leaks, investigating

     measuring usage on Linux

     ring buffers and

     saving, implementing tuples as named items

mergesort algorithm

message loops

message pumps

messages [See email messages]

met method metaclasses 2nd     custom, synchronization and

methods

     as attributes in Python    bound [See bound methods]

     calling other methods on same instance

     copying between Tkinter widgets

     defining as instance objects behavior

     delegating work to same method in superclass

     dispatching with dictionaries

     hiding those supplied by delegate     of classes, finding all

     of subclass, overriding superclass methods     special, of classes

     string objects     synchronizing in objects

     unboundMicrosoft Access [See Access]Microsoft Excel

     data, extracting with Jython     XML, parsing Microsoft Jet

     using via ADO

Microsoft ODBC standard

Microsoft Outlook, reading contacts

Microsoft SQL ServerMicrosoft Word [See Word]

MIME (Multipurpose Internet Mail Extensions)

MIME messages     bundling files in

     multipart, unpacking mimetools module

MimeWriter modulemixin class     checking instances for state changes

     functionality supplying across range of classes

     using cooperative supercalls

modules

     benefits over OOP objects

     building, tools for

     class definitions, including assignment statement in

     ensuring name is defined in

     importing

     Python search path and

     SWIG-generated

money tasks

     adding machine, Python as

     checking credit card checksums     foreign exchange rates, monitoring     formatting decimals as currency

     performing decimal arithmetic

moneyfmt function monitoring computers

Monostate Design Pattern

MsgWaitForMultipleObjects function

MSHTML

msvcrt module 2nd

MultiListbox.__init__ method

multiple_replace function multiprocess computing

Multipurpose Internet Mail Extensions (MIME) multitasking, without threads

multithreaded environment, using SWIG-generated modules in multithreaded programming

     deadlocks     main benefit of     race conditions

MySQL     database, accessing     storing BLOBs in

MySQLdb module

     storing BLOBs in MySQL

Категории