Python 3.7 Documentation
Table of Content
What's new in Python 3.7?
1. Whetting Your Appetite
2. Using the Python Interpreter
3. An Informal Introduction to Python
4. More Control Flow Tools
5. Data Structures
6. Modules
7. Input and Output
8. Errors and Exceptions
9. Classes
10. Brief Tour of the Standard Library
11. Brief Tour of the Standard Library — Part II
12. Virtual Environments and Packages
13. What Now?
14. Interactive Input Editing and History Substitution
15. Floating Point Arithmetic: Issues and Limitations
16. Appendix
Installing Python Modules
Distributing Python Modules
1. Introduction
2. Lexical analysis
3. Data model
4. Execution model
5. The import system
6. Expressions
7. Simple statements
8. Compound statements
9. Top-level components
10. Full Grammar specification
1. Command line and environment
2. Using Python on Unix platforms
3. Using Python on Windows
4. Using Python on a Macintosh
Porting Python 2 Code to Python 3
Porting Extension Modules to Python 3
Curses Programming with Python
Descriptor HowTo Guide
Functional Programming HOWTO
Logging HOWTO
Logging Cookbook
Regular Expression HOWTO
Socket Programming HOWTO
Sorting HOW TO
Unicode HOWTO
HOWTO Fetch Internet Resources Using The urllib Package
Argparse Tutorial
An introduction to the ipaddress module
Argument Clinic How-To
Instrumenting CPython with DTrace and SystemTap
General Python FAQ
Programming FAQ
Design and History FAQ
Library and Extension FAQ
Extending/Embedding FAQ
Python on Windows FAQ
Graphic User Interface FAQ
“Why is Python Installed on my Computer?” FAQ
Introduction
Built-in Functions
Built-in Constants
Built-in Types
Built-in Exceptions
Text Processing Services
string
re
difflib
textwrap
unicodedata
stringprep
readline
rlcompleter
Binary Data Services
struct
codecs
Data Types
datetime
calendar
collections
collections.abc
heapq
bisect
array
weakref
types
copy
pprint
reprlib
enum
Numeric and Mathematical Modules
numbers
math
cmath
decimal
fractions
random
statistics
Functional Programming Modules
itertools
functools
operator
File and Directory Access
pathlib
os.path
fileinput
stat
filecmp
tempfile
glob
fnmatch
linecache
shutil
macpath
Data Persistence
pickle
copyreg
shelve
marshal
dbm
sqlite3
Data Compression and Archiving
zlib
gzip
bz2
lzma
zipfile
tarfile
File Formats
csv
configparser
netrc
xdrlib
plistlib
Cryptographic Services
hashlib
hmac
secrets
Generic Operating System Services
os
io
time
argparse
getopt
logging
logging.config
logging.handlers
getpass
curses
curses.ascii
curses.panel
platform
errno
ctypes
Concurrent Execution
threading
multiprocessing
The concurrent package
concurrent.futures
subprocess
sched
queue
_thread
_dummy_thread
dummy_threading
contextvars
Networking and Interprocess Communication
asyncio
socket
ssl
select
selectors
asyncore
asynchat
signal
mmap
Internet Data Handling
email
json
mailcap
mailbox
mimetypes
base64
binhex
binascii
quopri
uu
Structured Markup Processing Tools
html
html.parser
html.entities
XML Processing Modules
xml.etree.ElementTree
xml.dom
xml.dom.minidom
xml.dom.pulldom
xml.sax
xml.sax.handler
xml.sax.saxutils
xml.sax.xmlreader
xml.parsers.expat
Internet Protocols and Support
webbrowser
cgi
cgitb
wsgiref
urllib
urllib.request
urllib.parse
urllib.error
urllib.robotparser
http
http.client
ftplib
poplib
imaplib
nntplib
smtplib
smtpd
telnetlib
uuid
socketserver
http.server
http.cookies
http.cookiejar
xmlrpc
xmlrpc.client
xmlrpc.server
ipaddress
Multimedia Services
audioop
aifc
sunau
wave
chunk
colorsys
imghdr
sndhdr
ossaudiodev
Internationalization
gettext
locale
Program Frameworks
turtle
cmd
shlex
Graphical User Interfaces with Tk
tkinter
tkinter.ttk
tkinter.tix
tkinter.scrolledtext
IDLE
Other Graphical User Interface Packages
Development Tools
typing
pydoc
doctest
unittest
unittest.mock
unittest.mock
2to3 - Automated Python 2 to 3 code translation
test
Debugging and Profiling
bdb
faulthandler
pdb
The Python Profilers
timeit
trace
tracemalloc
Software Packaging and Distribution
... more
Documentación de Python 3.7
Tabla de contenidos
¿Qué hay de nuevo en Python 3.7?
1. Despertar su apetito
2. Usando el intérprete de Python
3. Una introducción informal a Python
4. Más herramientas de control de flujo
5. Estructuras de datos
6. modulos
7. Entrada y salida
8. Errores y excepciones
9. Clases
10. Breve recorrido por la biblioteca estándar
11. Breve recorrido por la biblioteca estándar - Parte II
12. Entornos virtuales y paquetes
13. ¿Y ahora qué?
14. Edición de entrada interactiva y sustitución de historial
15. Aritmética de punto flotante: problemas y limitaciones
16. apéndice
Instalación de módulos de Python
Distribuir módulos de Python
1. Introducción
2. Análisis léxico.
3. Modelo de datos
4. Modelo de ejecución.
5. El sistema de importación.
6. Expresiones
7. declaraciones simples
8. Declaraciones compuestas
9. Componentes de alto nivel
10. Especificación completa de la gramática
1. Línea de comando y entorno
2. Usando Python en plataformas Unix
3. Usando Python en Windows
4. Usando Python en una Macintosh
Portar código Python 2 a Python 3
Cómo trasladar los módulos de extensión a Python 3
Programación de Maldiciones con Python.
Guía de instrucciones Descriptor
Programación Funcional HOWTO
Cómo iniciar sesión
Libro de cocina de registro
Expresión regular howto
CÓMO de programación de zócalo
Clasificando COMO
Unicode HOWTO
CÓMO obtener recursos de Internet usando el paquete urllib
Tutorial Argparse
Una introducción al módulo ipaddress
Clínica de Argumentos Cómo hacer
Instrumentación CPython con DTrace y SystemTap
Preguntas generales sobre Python
Preguntas frecuentes de programación
Preguntas frecuentes de diseño e historia
Preguntas frecuentes sobre bibliotecas y extensiones
Preguntas frecuentes sobre extensión / incrustación
Preguntas frecuentes sobre Python en Windows
Preguntas Frecuentes de la Interfaz Gráfica de Usuario
“¿Por qué está instalado Python en mi computadora?” Preguntas frecuentes
Introducción
Funciones integradas
Constantes incorporadas
Tipos incorporados
Excepciones incorporadas
Servicios de procesamiento de texto
cuerda
re
diflib
ajuste de texto
unicodedata
stringprep
readline
rlcompleter
Servicios de datos binarios
estructura
codecs
Tipos de datos
fecha y hora
calendario
colecciones
colecciones.abc
montón
bisecar
formación
debilidad
tipos
dupdo
huella
reprender
enumerar
Módulos numéricos y matemáticos
números
mates
cmath
decimal
fracciones
aleatorio
estadística
Módulos de Programación Funcional
itertools
functools
operador
Acceso a archivos y directorios
patinaje
os.path
archivo de entrada
estado
filecmp
archivo temporal
glob
fnmatch
linecache
shutil
macpath
Persistencia de datos
conservar en vinagre
copyreg
dejar de lado
mariscal
dbm
sqlite3
Compresión y archivo de datos
zlib
gzip
bz2
lzma
archivo zip
tarfile
Formatos de archivo
csv
configparser
netrc
xdrlib
plistlib
Servicios criptográficos
hashlib
hmac
misterios
Servicios genéricos del sistema operativo
os
io
hora
argparse
getopt
explotación florestal
logging.config
logging.handlers
conseguir pase
maldiciones
curses.ascii
curses.panel
plataforma
errno
ctypes
Ejecución concurrente
enhebrar
multiprocesamiento
El paquete concurrente
concurrent.futures
subproceso
programar
cola
_hilo
_dummy_thread
dummy_threading
contextvars
Redes y comunicación entre procesos.
asyncio
enchufe
ssl
seleccionar
selectores
asyncore
asynchat
señal
mmap
Manejo de datos de Internet
correo electrónico
json
casillero
buzón
mimos tipos
base64
binhex
binascii
quopri
uu
Herramientas de procesamiento de marcado estructurado
html
html.parser
html.entities
Módulos de procesamiento XML
xml.etree.ElementTree
xml.dom
xml.dom.minidom
xml.dom.pulldom
xml.sax
xml.sax.handler
xml.sax.saxutils
xml.sax.xmlreader
xml.parsers.expat
Protocolos de Internet y Soporte
navegador web
cgi
cgitb
wsgiref
urllib
urllib.request
urllib.parse
urllib.error
urllib.robotparser
http
http.client
ftplib
poplib
imaplib
nntplib
smtplib
smtpd
telnetlib
uuid
socketserver
http.server
http.cookies
http.cookiejar
xmlrpc
xmlrpc.client
xmlrpc.server
dirección IP
Servicios multimedia
audioop
aifc
Sunau
ola
pedazo
colorsys
imghdr
sndhdr
ossaudiodev
Internacionalización
gettext
lugar
Marcos de programas
Tortuga
cmd
shlex
Interfaces gráficas de usuario con Tk
tkinter
tkinter.ttk
tkinter.tix
tkinter.scrolledtext
OCIOSO
Otros paquetes de interfaz gráfica de usuario
Herramientas de desarrollo
mecanografía
pydoc
doctest
prueba de unidad
unittest.mock
unittest.mock
2to3 - Traducción automática de códigos Python 2 a 3
prueba
Depuración y perfilado
bdb
faulthandler
pdb
Los perfiladores de Python
cronométralo
rastro
tracemalloc
Empaquetado y distribución de software
... Más