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
Documentation Python 3.7
Table des matières
Quoi de neuf dans Python 3.7?
1. Whet votre appétit
2. Utilisation de l'interpréteur Python
3. Une introduction informelle à Python
4. Plus d'outils de contrôle de flux
5. Structures de données
6. Modules
7. Entrée et sortie
8. Erreurs et exceptions
9. cours
10. Brève visite de la bibliothèque standard
11. Bref aperçu de la bibliothèque standard - partie II
12. Environnements virtuels et forfaits
13. Et maintenant?
14. Édition d'entrée interactive et substitution d'historique
15. Arithmétique en virgule flottante: problèmes et limites
16. annexe
Installation de modules Python
Distribuer des modules Python
1. Introduction
2. Analyse lexicale
3. Modèle de données
4. Modèle d'exécution
5. Le système d'importation
6. Expressions
7. déclarations simples
8. Déclarations composées
9. Composants de premier niveau
10. Spécifications complètes de la grammaire
1. Ligne de commande et environnement
2. Utilisation de Python sur les plateformes Unix
3. Utilisation de Python sous Windows
4. Utilisation de Python sur un Macintosh
Porter du code Python 2 sur Python 3
Portage de modules d'extension vers Python 3
Programmation Curses avec Python
Guide de description
HOWTO Programmation fonctionnelle
HOWTO sur la journalisation
Journal de cuisine
HOWTO Expression Régulière
HOWTO sur la programmation par socket
Tri COMMENT
HOWTO Unicode
HOWTO Récupérer des ressources Internet en utilisant le paquet urllib
Tutoriel Argparse
Une introduction au module ipaddress
Clinique d'argumentation
Instrumentation de CPython avec DTrace et SystemTap
FAQ générale sur Python
FAQ sur la programmation
FAQ sur le design et l'histoire
FAQ sur la bibliothèque et l'extension
FAQ sur l'extension / l'intégration
FAQ Python sur Windows
FAQ sur l'interface utilisateur graphique
"Pourquoi Python est-il installé sur mon ordinateur?" FAQ
introduction
Fonctions intégrées
Constantes intégrées
Types intégrés
Exceptions intégrées
Services de traitement de texte
chaîne
ré
difflib
habillage de texte
unicodedata
stringprep
readline
rlcompleter
Services de données binaires
struct
codecs
Types de données
date / heure
calendrier
collections
collections.abc
heapq
couper en deux
tableau
faible ref
les types
copie
empreinte
reprlib
enum
Modules Numériques et Mathématiques
Nombres
math
cmath
décimal
fractions
au hasard
statistiques
Modules de programmation fonctionnelle
outils informatiques
functools
opérateur
Accès aux fichiers et aux répertoires
pathlib
os.path
entrée de fichier
stat
filecmp
fichier temporaire
glob
fnmatch
linecache
fermer
macpath
Persistance des données
cornichon
copier
ranger
maréchal
dbm
sqlite3
Compression de données et archivage
zlib
gzip
bz2
lzma
fichier zip
tarfile
Formats de fichier
CSV
configparser
réseau
xdrlib
plistlib
Services cryptographiques
hashlib
Hmac
des secrets
Services génériques du système d'exploitation
os
io
temps
argparse
getopt
enregistrement
logging.config
logging.handlers
passer
malédictions
malédictions.ascii
curses.panel
Plate-forme
errno
types
Exécution simultanée
filetage
multitraitement
Le package simultané
concurrent.futures
sous-processus
calendrier
queue
_fil
_dummy_thread
dummy_threading
contextvars
Mise en réseau et communication interprocessus
asyncio
prise
ssl
sélectionner
sélecteurs
Asyncore
asynchrone
signal
mmap
Traitement des données Internet
email
JSON
mailcap
boites aux lettres
mimétypes
base64
binhex
binascii
convenable
uu
Outils de traitement de balisage structuré
html
html.parser
html.entities
Modules de traitement 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
Protocoles Internet et support
navigateur web
cgi
cgitb
wsgiref
urllib
urllib.request
urllib.parse
urllib.error
urllib.robotparser
http
http.client
ftplib
poplib
imaplib
nntplib
smtplib
smtpd
telnetlib
uuid
serveur de sockets
http.server
http.cookies
http.cookiejar
xmlrpc
xmlrpc.client
xmlrpc.server
adresse IP
Services multimédia
audioop
aifc
Sunau
vague
tronçon
couleurs
imghdr
sndhdr
Ossaudiodev
Internationalisation
gettext
lieu
Cadres de programme
tortue
cmd
shlex
Interfaces utilisateur graphiques avec Tk
tkinter
tkinter.ttk
tkinter.tix
tkinter.scrolledtext
TOURNER AU RALENTI
Autres packages d'interface utilisateur graphique
Outils de développement
dactylographie
Pydoc
doctest
Test de l'unité
unittest.mock
unittest.mock
2to3 - Traduction automatique du code Python 2 en 3
tester
Débogage et profilage
bdb
gestionnaire de fautes
pdb
Les profileurs Python
temps
trace
tracemalloc
Emballage et distribution de logiciels
... plus