Python Modules

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
第34行: 第34行:
 
gc -- Garbage Collector interface
 
gc -- Garbage Collector interface
 
==More Standard Modules==
 
==More Standard Modules==
 +
===fileinput===
 +
fileinput -- Iterate over lines from multiple input streams
 +
===shutil===
 +
shutil -- High-level file operations
 +
===tempfile===
 +
tempfile -- Generate temporary files and directories
 +
===StringIO===
 +
StringIO -- Read and write strings as files
 +
===cStringIO===
 +
cStringIO -- Faster version of StringIO
 +
===mmap===
 +
mmap -- Memory-mapped file support
 +
===UserDict===
 +
UserDict -- Class wrapper for dictionary objects
 +
===UserList===
 +
UserList -- Class wrapper for list objects
 +
===UserString===
 +
UserString -- Class wrapper for string objects
 +
===traceback===
 +
traceback -- Print or retrieve a stack traceback
 +
===errno===
 +
errno -- Standard errno system symbols
 +
===getopt===
 +
getopt -- Parser for command line options
 +
===getpass===
 +
getpass  -- Portable password input
 +
===glob===
 +
glob -- Unix style pathname pattern expansion
 +
===fnmatch===
 +
fnmatch -- Unix filename pattern matching
 +
===random===
 +
random -- Generate pseudo-random numbers
 +
===whrandom===
 +
 +
===md5===
 +
md5 -- MD5 message digest algorithm
 +
===sha===
 +
sha -- SHA-1 message digest algorithm
 +
===crypt===
 +
crypt -- Function to check Unix passwords
 +
===rotor===
 +
===zlib===
 +
zlib -- Compression compatible with gzip
 +
===code===
 +
code -- Interpreter base classes
 
==Threads and Processes==
 
==Threads and Processes==
 
==Data Representation==
 
==Data Representation==

2007年2月5日 (一) 18:25的版本

Global Module Index - http://docs.python.org/modindex.html

目录

Core Modules

__builtin__

__builtin__ -- Built-in objects

exceptions

Built-in Exceptions

os

os -- Miscellaneous operating system interfaces

os.path

os.path -- Common pathname manipulations

stat

stat -- Interpreting stat() results

string

string -- Common string operations

re

re -- Regular expression operations

math

math -- Mathematical functions

cmath

cmath -- Mathematical functions for complex numbers

operator

operator -- Standard operators as functions.

copy

copy -- Shallow and deep copy operations

sys

sys -- System-specific parameters and functions

atexit

atexit -- Exit handlers

time

time -- Time access and conversions

types

types -- Names for built-in types

gc

gc -- Garbage Collector interface

More Standard Modules

fileinput

fileinput -- Iterate over lines from multiple input streams

shutil

shutil -- High-level file operations

tempfile

tempfile -- Generate temporary files and directories

StringIO

StringIO -- Read and write strings as files

cStringIO

cStringIO -- Faster version of StringIO

mmap

mmap -- Memory-mapped file support

UserDict

UserDict -- Class wrapper for dictionary objects

UserList

UserList -- Class wrapper for list objects

UserString

UserString -- Class wrapper for string objects

traceback

traceback -- Print or retrieve a stack traceback

errno

errno -- Standard errno system symbols

getopt

getopt -- Parser for command line options

getpass

getpass -- Portable password input

glob

glob -- Unix style pathname pattern expansion

fnmatch

fnmatch -- Unix filename pattern matching

random

random -- Generate pseudo-random numbers

whrandom

md5

md5 -- MD5 message digest algorithm

sha

sha -- SHA-1 message digest algorithm

crypt

crypt -- Function to check Unix passwords

rotor

zlib

zlib -- Compression compatible with gzip

code

code -- Interpreter base classes

Threads and Processes

Data Representation

File Formats

Mail and News Messages

Network Protocols

Internationalization

Multimedia Modules

Data Storage

Tools and Utilities

Platform Specific Modules

Implementation Support Modules

Other Modules

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱