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
Dokumentasi Python 3.7
Jadual kandungan
Apa yang baru dalam Python 3.7?
1. Mengambil Selera Anda
2. Menggunakan Interpreter Python
3. Pengenalan Informal kepada Python
4. Alat Aliran Kawalan Lebih
5. Struktur Data
6. Modul
7. Input dan Output
8. Kesilapan dan Pengecualian
9. Kelas
10. Lawatan Singkat Perpustakaan Standard
11. Jelajah Ringkas Perpustakaan Standard - Bahagian II
12. Persekitaran Maya dan Pakej
13. Apa Sekarang?
14. Pengeditan Input Interaktif dan Penggantian Sejarah
15. Aritmetik Terapung: Isu dan Batasan
16. Lampiran
Memasang Modul Python
Mengedar Modul Python
1. Pengenalan
2. Analisis leksikal
3. Model data
4. Model Pelaksanaan
5. Sistem import
6. Ekspresi
7. Penyataan mudah
8. Pernyataan kompaun
9. Komponen peringkat atas
10. Spesifikasi Tatabahasa Penuh
1. Barisan arahan dan persekitaran
2. Menggunakan Python pada platform Unix
3. Menggunakan Python pada Windows
4. Menggunakan Python pada Macintosh
Porting Python 2 Code to Python 3
Porting Modul Sambungan ke Python 3
Pengaturcaraan dengan Python
Panduan HowTo Deskriptor
Pemrograman Fungsian HOWTO
Pembalakan HOWTO
Buku Panduan Pembalakan
Expression Regular HOWTO
Pengaturcaraan Socket HOWTO
Menyusun CARA UNTUK
Unicode HOWTO
HOWTO Ambil Sumber Internet Menggunakan Pakej urllib
Arahkan Argparse
Pengenalan kepada modul ipaddress
How-To Clinic Argument
Memerintahkan CPython dengan DTrace dan SystemTap
Soalan Umum Python
Soalan Pengaturcaraan
Soalan Reka Bentuk dan Sejarah
Soalan Lazim Perpustakaan dan Sambungan
Mengemaskini / Menepis Soalan Lazim
Python pada FAQ Windows
Soalan Antara Muka Pengguna Grafik
"Mengapa Python Dipasang pada Komputer saya?" FAQ
Pengenalan
Fungsi terbina dalam
Constants terbina dalam
Jenis Terbina
Pengecualian terbina dalam
Perkhidmatan Pemprosesan Teks
tali
semula
difflib
textwrap
unicodedata
stringprep
readline
rlcompleter
Perkhidmatan Data Perduaan
struct
codec
Jenis Data
masa tarikh
kalendar
koleksi
collections.abc
heapq
bisect
pelbagai
weakref
jenis
salinan
mencetak
reprlib
enum
Modul Numerik dan Matematik
nombor
matematik
cmath
perpuluhan
pecahan
rawak
statistik
Modul Pengaturcaraan Fungsian
itertools
functools
pengendali
Akses Fail dan Direktori
pathlib
os.path
failinput
stat
filecmp
tempfile
glob
fnmatch
linecache
shutil
macpath
Kegigihan Data
jeruk
copyreg
simpan
marshal
dbm
sqlite3
Pemampatan Data dan Pengarkiban
zlib
gzip
bz2
lzma
zipfile
tarfile
Format Fail
csv
configparser
netrc
xdrlib
plistlib
Perkhidmatan Kriptografi
hashlib
hmac
rahsia
Perkhidmatan Sistem Pengendalian Generik
os
io
masa
argparse
getopt
pembalakan
logging.config
logging.handlers
getpass
kutukan
curses.ascii
curses.panel
platform
errno
ctypes
Pelaksanaan Bersama
threading
multiprocessing
Pakej serentak
concurrent.futures
subprocess
jadual
beratur
_thread
_dummy_thread
dummy_threading
konteks
Rangkaian dan Interprocess Communication
asyncio
soket
ssl
pilih
pemilih
asyncore
asynchat
isyarat
mmap
Pengendalian Data Internet
e-mel
json
mel
peti mel
mimetip
base64
binhex
binascii
quopri
uu
Peralatan Pemprosesan Markup Berstruktur
html
html.parser
html.entities
Modul Pemproses 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
Protokol dan Sokongan Internet
pelayar 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
alamat IP
Perkhidmatan Multimedia
audioop
aifc
sunau
gelombang
potongan
colorsys
imghdr
sndhdr
ossaudiodev
Pengantarabangsaan
gettext
tempatan
Rangka Kerja Program
penyu
cmd
shlex
Antara muka pengguna grafik dengan Tk
tkinter
tkinter.ttk
tkinter.tix
tkinter.scrolledtext
IDLE
Pakej Antara Muka Pengguna Grafis Lain
Perkakas Pembangunan
menaip
pydoc
doktor
unittest
unittest.mock
unittest.mock
2to3 - Terjemahan kod 2 hingga 3 Python automatik
ujian
Debugging dan Profiling
bdb
pemarah
pdb
Profiler Python
masa
jejak
tracemalloc
Pembungkusan dan Pengedaran Software
... lagi