Referencia de la Biblioteca de Python
Anterior:
Letra pequeña
Niv. superior:
Referencia de la Biblioteca
Siguiente:
1. Introducción
Contents
Letra pequeña
1. Introducción
2. Tipos, excepciones y funciones internos
2.1 Tipos internos
2.1.1 Comprobación de valor verdadero
2.1.2 Operaciones booleanas
2.1.3 Comparaciones
2.1.4 Tipos numéricos
2.1.5 Tipos secuenciales
2.1.6 Tipos correspondencia
2.1.7 Otros tipos internos
2.1.8 Atributos especiales
2.2 Excepciones internas
2.3 Funciones internas
3. Servicios de ejecución de Python
3.1
sys
-- Parámetros y funciones específicas del sistema
3.2
gc
-- Interfaz con el recolector de basura
3.3
atexit
-- Gestores de salida
3.3.1 Ejemplo de
atexit
3.4
types
-- Nombres de todos los tipos internos
3.5
UserDict
-- Cobertura de clase de objetos diccionario
3.6
UserList
-- Cobertura de clase de objetos lista
3.7
UserString
-- Cobertura de clase de objetos cadena
3.8
operator
-- Operadores estándar como funciones.
3.9
traceback
-- Presenta o recupera una retraza de la pila
3.9.1 Ejemplo de retraza
3.10
linecache
-- Acceso aleatorio a líneas de texto
3.11
pickle
-- Serialización de objetos Python
3.11.1 Ejemplo
3.12
cPickle
-- Implementation alternativa de
pickle
3.13
copy_reg
-- Registro de funciones de apoyo a
pickle
3.14
shelve
-- Persistencia de objetos Python
3.15
copy
-- Operaciones de copia superficial o profunda
3.16
marshal
-- Serialización alternativa de objetos Python
3.17
imp
-- Access the
import
internals
3.17.1 Examples
3.18
code
-- Interpreter base classes
3.18.1 Interactive Interpreter Objects
3.18.2 Interactive Console Objects
3.19
codeop
-- Compile Python code
3.20
pprint
-- Data pretty printer
3.20.1 PrettyPrinter Objects
3.21
repr
-- Alternate
repr()
implementation
3.21.1 Repr Objects
3.21.2 Subclassing Repr Objects
3.22
new
-- Creation of runtime internal objects
3.23
site
-- Engarce con la configuración específica de la instalación
3.24
user
-- User-specific configuration hook
3.25
__builtin__
-- Funciones internas
3.26
__main__
-- Top-level script environment
4. Servicios de cadenas
4.1
string
-- Common string operations
4.2
re
-- Regular expression operations
4.2.1 Regular Expression Syntax
4.2.2 Matching vs. Searching
4.2.3 Module Contents
4.2.4 Regular Expression Objects
4.2.5 Match Objects
4.3
regex
-- Regular expression operations
4.3.1 Regular Expressions
4.3.2 Module Contents
4.4
regsub
-- String operations using regular expressions
4.5
struct
-- Interpret strings as packed binary data
4.6
fpformat
-- Floating point conversions
4.7
StringIO
-- Read and write strings as files
4.8
cStringIO
-- Faster version of
StringIO
4.9
codecs
-- Codec registry and base classes
4.9.1 Codec Base Classes
4.10
unicodedata
-- Unicode Database
5. Servicios diversos
5.1
math
-- Mathematical functions
5.2
cmath
-- Mathematical functions for complex numbers
5.3
random
-- Generate pseudo-random numbers
5.3.1 The Random Number Generator Interface
5.4
whrandom
-- Pseudo-random number generator
5.5
bisect
-- Algoritmos de bisección de listas
5.5.1 Ejemplo
5.6
array
-- Vectores eficientes de valores numéricos
5.7
ConfigParser
-- Configuration file parser
5.7.1 ConfigParser Objects
5.8
fileinput
-- Iterate over lines from multiple input streams
5.9
calendar
-- General calendar-related functions
5.10
cmd
-- Support for line-oriented command interpreters
5.10.1 Cmd Objects
5.11
shlex
-- Simple lexical analysis
5.11.1 shlex Objects
6. Servicios Genéricos del Sistema Operativo
6.1
os
-- Diversos interfaces con el SO
6.1.1 Process Parameters
6.1.2 Creación de objetos File (fichero)
6.1.3 Operaciones de descriptores de ficheros
6.1.4 Files and Directories
6.1.5 Process Management
6.1.6 Miscellaneous System Information
6.2
os.path
-- Common pathname manipulations
6.3
dircache
-- Cached directory listings
6.4
stat
-- Interpreting
stat()
results
6.5
statcache
-- An optimization of
os.stat()
6.6
statvfs
-- Constants used with
os.statvfs()
6.7
filecmp
-- File and Directory Comparisons
6.7.1 The
dircmp
class
6.8
popen2
-- Subprocesses with accessible I/O streams
6.8.1 Popen3 and Popen4 Objects
6.9
time
-- Time access and conversions
6.10
sched
-- Event scheduler
6.10.1 Scheduler Objects
6.11
getpass
-- Portable password input
6.12
curses
-- Terminal handling for character-cell displays
6.12.1 Functions
6.12.2 Window Objects
6.12.3 Constants
6.13
curses.textpad
-- Text input widget for curses programs
6.13.1 Textbox objects
6.14
curses.wrapper
-- Terminal handler for curses programs
6.15
curses.ascii
-- Utilidades para caracteres ASCII
6.16
getopt
-- Analizador de opciones de línea de órdenes
6.17
tempfile
-- Generate temporary file names
6.18
errno
-- Standard errno system symbols
6.19
glob
-- Expansión de patrones de ruta estilo Unix
6.20
fnmatch
-- Unix filename pattern matching
6.21
shutil
-- High-level file operations
6.21.1 Example
6.22
locale
-- Internationalization services
6.22.1 Background, details, hints, tips and caveats
6.22.2 For extension writers and programs that embed Python
6.23
gettext
-- Multilingual internationalization services
6.23.1 GNU
gettext
API
6.23.2 Class-based API
6.23.3 Internationalizing your programs and modules
6.23.4 Acknowledgements
6.24
mutex
-- Mutual exclusion support
6.24.1 Mutex Objects
7. Servicios opcionales dependientes del sistema operativo
7.1
signal
-- Set handlers for asynchronous events
7.1.1 Example
7.2
socket
-- Low-level networking interface
7.2.1 Socket Objects
7.2.2 Example
7.3
select
-- Waiting for I/O completion
7.3.1 Polling Objects
7.4
thread
-- Hilos de control múltiples
7.5
threading
-- Interfaz multihilo de alto nivel
7.5.1 Objetos cerrojo
7.5.2 Objetos RLock (cerrojos reentrantes)
7.5.3 Objetos condición
7.5.4 Objetos Semaphore (semáforo)
7.5.5 Objetos Event (suceso)
7.5.6 Objetos Thread (hilo)
7.6
Queue
-- A synchronized queue class
7.6.1 Queue Objects
7.7
mmap
-- Memory-mapped file support
7.8
anydbm
-- Acceso genérico a bases de datos de tipo DBM
7.9
dumbdbm
-- Implementación DBM transportable
7.10
dbhash
-- DBM-style interface to the BSD database library
7.10.1 Database Objects
7.11
whichdb
-- Guess which DBM module created a database
7.12
bsddb
-- Interfaz con la librería Berkeley de Bases de Datos
7.12.1 Objetos de tipo Hash, BTree y registro
7.13
zlib
-- Compresión compatible con
gzip
7.14
gzip
-- Gestión de ficheros
gzip
7.15
zipfile
-- Trabajar con archivos ZIP
7.15.1 ZipFile Objects
7.16
readline
-- Interfaz con la biblioteca readline de GNU
7.16.1 Ejemplo
7.17
rlcompleter
-- Función de completar para readline de GNU
7.17.1 Objetos terminadores
8. Unix Specific Services
8.1
posix
-- The most common POSIX system calls
8.1.1 Large File Support
8.1.2 Module Contents
8.2
pwd
-- The password database
8.3
grp
-- La base de datos de grupos
8.4
crypt
-- Function to check Unix passwords
8.5
dl
-- Call C functions in shared objects
8.5.1 Dl Objects
8.6
dbm
-- Simple ``database'' interface
8.7
gdbm
-- GNU's reinterpretation of dbm
8.8
termios
-- POSIX style tty control
8.8.1 Example
8.9
TERMIOS
-- Constants used with the
termios
module
8.10
tty
-- Terminal control functions
8.11
pty
-- Pseudo-terminal utilities
8.12
fcntl
-- The
fcntl()
and
ioctl()
system calls
8.13
pipes
-- Interface to shell pipelines
8.13.1 Template Objects
8.14
posixfile
-- File-like objects with locking support
8.15
resource
-- Resource usage information
8.15.1 Resource Limits
8.15.2 Resource Usage
8.16
nis
-- Interface to Sun's NIS (Yellow Pages)
8.17
syslog
-- Unix syslog library routines
8.18
commands
-- Utilities for running commands
9. The Python Debugger
9.1 Debugger Commands
9.2 How It Works
10. The Python Profiler
10.1 Introduction to the profiler
10.2 How Is This Profiler Different From The Old Profiler?
10.3 Instant Users Manual
10.4 What Is Deterministic Profiling?
10.5 Reference Manual
10.5.1 The
Stats
Class
10.6 Limitations
10.7 Calibration
10.8 Extensions -- Deriving Better Profilers
10.8.1 OldProfile Class
10.8.2 HotProfile Class
11. Soporte y protocolos de Internet
11.1
webbrowser
-- Controlador Web-browser
11.1.1 Objetos del Controlador de Navegador
11.2
cgi
-- Common Gateway Interface support.
11.2.1 Introduction
11.2.2 Using the cgi module
11.2.3 Old classes
11.2.4 Functions
11.2.5 Caring about security
11.2.6 Installing your CGI script on a Unix system
11.2.7 Testing your CGI script
11.2.8 Debugging CGI scripts
11.2.9 Common problems and solutions
11.3
urllib
-- Open arbitrary resources by URL
11.3.1 URLopener Objects
11.3.2 Examples
11.4
httplib
-- Cliente del protocolo HTTP
11.4.1 Objetos HTTP
11.4.2 Examples
11.5
ftplib
-- cliente del protocolo FTP
11.5.1 Objetos FTP
11.6
gopherlib
-- Gopher protocol client
11.7
poplib
-- POP3 protocol client
11.7.1 POP3 Objects
11.7.2 POP3 Example
11.8
imaplib
-- Cliente del protocolo IMAP4
11.8.1 Objetos IMAP4
11.8.2 Ejemplo de IMAP4
11.9
nntplib
-- NNTP protocol client
11.9.1 NNTP Objects
11.10
smtplib
-- SMTP protocol client
11.10.1 SMTP Objects
11.10.2 SMTP Example
11.11
telnetlib
-- Telnet client
11.11.1 Telnet Objects
11.11.2 Telnet Example
11.12
urlparse
-- Parse URLs into components
11.13
SocketServer
-- A framework for network servers
11.14
BaseHTTPServer
Servidor HTTP básico
11.15
SimpleHTTPServer
-- Simple HTTP request handler
11.16
CGIHTTPServer
-- CGI-capable HTTP request handler
11.17
Cookie
-- Gestión de estado HTTP
11.17.1 Objetos Cookie
11.17.2 Objetos Morsel
11.17.3 Ejemplo
11.18
asyncore
-- Gestor de socket asíncrono
11.18.1 Ejemplo básico de cliente HTTP
12. Internet Data Handling
12.1
formatter
-- Generic output formatting
12.1.1 The Formatter Interface
12.1.2 Formatter Implementations
12.1.3 The Writer Interface
12.1.4 Writer Implementations
12.2
rfc822
-- Parse RFC 822 mail headers
12.2.1 Message Objects
12.2.2 AddressList Objects
12.3
mimetools
-- Tools for parsing MIME messages
12.3.1 Additional Methods of Message Objects
12.4
MimeWriter
-- Generic MIME file writer
12.4.1 MimeWriter Objects
12.5
multifile
-- Support for files containing distinct parts
12.5.1 MultiFile Objects
12.5.2
MultiFile
Example
12.6
binhex
-- Codificar y descodificar archivos binhex4
12.6.1 Notas
12.7
uu
-- Codifica y decodifica ficheros con uuencode
12.8
binascii
-- Conversión entre binario y ASCII
12.9
xdrlib
-- Encode and decode XDR data
12.9.1 Packer Objects
12.9.2 Unpacker Objects
12.9.3 Exceptions
12.10
mailcap
-- Mailcap file handling.
12.11
mimetypes
-- Map filenames to MIME types
12.12
base64
-- Codificar y descodificar datos MIME base64
12.13
quopri
-- Codificación y descodificación de datos MIME quoted-printable
12.14
mailbox
-- Read various mailbox formats
12.14.1 Mailbox Objects
12.15
mhlib
-- Access to MH mailboxes
12.15.1 MH Objects
12.15.2 Folder Objects
12.15.3 Message Objects
12.16
mimify
-- MIME processing of mail messages
12.17
netrc
-- netrc file processing
12.17.1 netrc Objects
12.18
robotparser
-- Parser for robots.txt
13. Herramientas de procesado de marcaje estructurado
13.1
sgmllib
-- Simple SGML parser
13.2
htmllib
-- Analizador de documentos HTML
13.2.1 Objetos HTMLParser
13.3
htmlentitydefs
-- Definiciones de las entidades generales de HTML
13.4
xmllib
-- A parser for XML documents
13.4.1 XML Namespaces
13.5
xml.parsers.expat
-- Fast XML parsing using the Expat library
13.5.1 Example
13.5.2 Expat error constants
14. Multimedia Services
14.1
audioop
-- Manipula datos de audio en bruto
14.2
imageop
-- Manipulate raw image data
14.3
aifc
-- Leer y escribir ficheros AIFF y AIFC
14.4
sunau
-- Read and write Sun AU files
14.4.1 AU_read Objects
14.4.2 AU_write Objects
14.5
wave
-- Lectura y escritura de ficheros WAVs
14.5.1 Wave_read Objects
14.5.2 Wave_write Objects
14.6
chunk
-- Read IFF chunked data
14.7
colorsys
-- Conversions between color systems
14.8
rgbimg
-- Read and write ``SGI RGB'' files
14.9
imghdr
-- Determine the type of an image
14.10
sndhdr
-- Determine type of sound file
15. Cryptographic Services
15.1
md5
-- MD5 message digest algorithm
15.2
sha
-- SHA message digest algorithm
15.3
mpz
-- GNU arbitrary magnitude integers
15.4
rotor
-- Enigma-like encryption and decryption
16. Restricted Execution
16.1
rexec
-- Restricted execution framework
16.1.1 An example
16.2
Bastion
-- Acceso restringido a los objetos
17. Servicios del lenguaje Python
17.1
parser
-- Access Python parse trees
17.1.1 Creating AST Objects
17.1.2 Converting AST Objects
17.1.3 Queries on AST Objects
17.1.4 Exceptions and Error Handling
17.1.5 AST Objects
17.1.6 Examples
17.2
symbol
-- Constants used with Python parse trees
17.3
token
-- Constants used with Python parse trees
17.4
keyword
-- Testing for Python keywords
17.5
tokenize
-- Tokenizer for Python source
17.6
tabnanny
-- Detection of ambiguous indentation
17.7
pyclbr
-- Python class browser support
17.7.1 Class Descriptor Objects
17.8
py_compile
-- Compile Python source files
17.9
compileall
-- Byte-compile Python libraries
17.10
dis
-- Disassembler for Python byte code
17.10.1 Python Byte Code Instructions
18. SGI IRIX Specific Services
18.1
al
-- Funciones de sonido en el SGI
18.1.1 Objetos de configuración
18.1.2 Objetos Puerto
18.2
AL
-- Constantes usadas con el módulo
al
18.3
cd
-- CD-ROM access on SGI systems
18.3.1 Player Objects
18.3.2 Parser Objects
18.4
fl
-- FORMS library interface for GUI applications
18.4.1 Functions Defined in Module
fl
18.4.2 Form Objects
18.4.3 FORMS Objects
18.5
FL
-- Constants used with the
fl
module
18.6
flp
-- Functions for loading stored FORMS designs
18.7
fm
--
Font Manager
interface
18.8
gl
--
Graphics Library
interface
18.9
DEVICE
-- Constants used with the
gl
module
18.10
GL
-- Constants used with the
gl
module
18.11
imgfile
-- Support for SGI imglib files
18.12
jpeg
-- Lectura y escritura de ficheros JPEG
19. Servicios específicos de SunOS
19.1
sunaudiodev
-- Access to Sun audio hardware
19.1.1 Audio Device Objects
19.2
SUNAUDIODEV
-- Constants used with
sunaudiodev
20. Servicios específicos de MS Windows
20.1
msvcrt
- Useful routines from the MS VC++ runtime
20.1.1 File Operations
20.1.2 Console I/O
20.1.3 Other Functions
20.2
_winreg
- Windows registry access
20.2.1 Registry handle objects
20.3
winsound
-- Sound-playing interface for Windows
21. Módulos indocumentados
21.1 Infraestructuras
21.2 Herramientas varias
21.3 Módulos dependientes de la plataforma
21.4 Multimedios
21.5 Obsoletos
21.6 SGI-specific Extension modules
Module Index
Index
About this document ...
Referencia de la Biblioteca de Python
Anterior:
Letra pequeña
Niv. superior:
Referencia de la Biblioteca
Siguiente:
1. Introducción
Ver
Sobre este documento...
para obtener información sobre sugerencias.