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
Documentazione di Python 3.7
Tabella dei contenuti
Cosa c'è di nuovo in Python 3.7?
1. Promuovere il tuo appetito
2. Utilizzo dell'interprete Python
3. Un'introduzione informale a Python
4. Altri strumenti di controllo del flusso
5. Strutture dati
6. Moduli
7. Input e output
8. Errori ed eccezioni
9. Classi
10. Breve tour della biblioteca standard
11. Breve tour della Biblioteca standard - Parte II
12. Ambienti virtuali e pacchetti
13. Che ora?
14. Sostituzione interattiva di input e cronologia
15. Aritmetica in virgola mobile: problemi e limiti
16. Appendice
Installazione dei moduli Python
Distribuire i moduli Python
1. Introduzione
2. Analisi lessicale
3. Modello di dati
4. Modello di esecuzione
5. Il sistema di importazione
6. Espressioni
7. Dichiarazioni semplici
8. Dichiarazioni composte
9. Componenti di primo livello
10. Specifiche per la grammatica completa
1. Riga di comando e ambiente
2. Utilizzo di Python su piattaforme Unix
3. Utilizzo di Python su Windows
4. Uso di Python su un Macintosh
Porting di Python 2 Code in Python 3
Porting di moduli di estensione a Python 3
Programmazione delle maledizioni con Python
Descrittore Guida HowTo
Functional Programming HOWTO
Logging HOWTO
Ricettario di registrazione
Espressione regolare HOWTO
Socket Programming HOWTO
Ordinamento COME
Unicode HOWTO
HOWTO Recupera risorse Internet utilizzando il pacchetto urllib
Argparse Tutorial
Un'introduzione al modulo ipaddress
Argomento Clinica How-To
Strumentazione di CPython con DTrace e SystemTap
Domande frequenti su Python generale
Domande frequenti sulla programmazione
Domande frequenti sulla progettazione e la cronologia
Domande frequenti sulla libreria e sull'estensione
Estendere / integrare domande frequenti
Python su domande frequenti su Windows
Domande frequenti sull'interfaccia grafica utente
Domande frequenti "Perché Python è installato sul mio computer?"
introduzione
Funzioni integrate
Costanti incorporate
Tipi incorporati
Eccezioni incorporate
Servizi di elaborazione del testo
stringa
ri
difflib
textwrap
unicodedata
stringprep
linea di lettura
rlcompleter
Servizi dati binari
struct
codec
Tipi di dati
appuntamento
calendario
collezioni
collections.abc
heapq
tagliare in due
schieramento
weakref
tipi
copia
pprint
reprlib
enum
Moduli numerici e matematici
numeri
matematica
cmath
decimale
frazioni
casuale
statistica
Moduli di programmazione funzionale
itertools
functools
operatore
Accesso a file e directory
pathlib
os.path
fileinput
statistica
filecmp
tempfile
glob
fnmatch
linecache
shutil
macpath
Persistenza dei dati
salamoia
copyreg
accantonare
maresciallo
dbm
sqlite3
Compressione dei dati e archiviazione
zlib
gzip
bz2
lzma
file zip
tarfile
Formati di file
csv
ConfigParser
netrc
xdrlib
plistlib
Servizi di crittografia
hashlib
hmac
segreti
Servizi generici del sistema operativo
os
io
tempo
argparse
getopt
registrazione
logging.config
logging.handlers
getpass
maledizioni
curses.ascii
curses.panel
piattaforma
errno
ctypes
Esecuzione simultanea
threading
multiprocessing
Il pacchetto concorrente
concurrent.futures
sottoprocesso
sched
coda
_filo
_dummy_thread
dummy_threading
contextvars
Comunicazione in rete e interprocess
asyncio
presa di corrente
ssl
selezionare
selettori
asyncore
asynchat
segnale
mmap
Gestione dati Internet
e-mail
jSON
mailcap
cassetta postale
mimetypes
Base64
binhex
binascii
quopri
uu
Strumenti di elaborazione markup strutturati
html
html.parser
html.entities
Moduli di elaborazione 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
Protocolli e supporto Internet
programma di navigazione in rete
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
indirizzo IP
Servizi multimediali
audioop
aifc
sunau
onda
pezzo
colorsys
imghdr
sndhdr
ossaudiodev
Internazionalizzazione
gettext
località
Framework del programma
tartaruga
cmd
shlex
Interfacce utente grafiche con Tk
Tkinter
tkinter.ttk
tkinter.tix
tkinter.scrolledtext
INATTIVO
Altri pacchetti di interfaccia utente grafica
Strumenti di sviluppo
digitando
pydoc
doctest
unittest
unittest.mock
unittest.mock
2to3 - Traduzione automatica di codici Python 2-3
test
Debug e profilazione
bdb
faulthandler
PDB
I profiler Python
timeit
traccia
tracemalloc
Packaging e distribuzione del software
... Di Più