- Apa yang Baru di Python
- What's New In Python 3.10
- What's New In Python 3.9
- What's New In Python 3.8
- What's New In Python 3.7
- Apa yang Baru di Python 3.6
- What's New In Python 3.5
- What's New In Python 3.4
- What's New In Python 3.3
- What's New In Python 3.2
- What's New In Python 3.1
- Apa yang Baru Di Python 3.0
- Apa yang Baru di Python 2.7
- Apa yang Baru di Python 2.6
- What's New in Python 2.5
- What's New in Python 2.4
- What's New in Python 2.3
- What's New in Python 2.2
- Apa yang Baru di Python 2.1
- What's New in Python 2.0
- Catatan Perubahan
- What's New In Python 3.10
- Tutorial Python
- 1. Membangkitkan Selera Anda
- 2. Menggunakan Interpreter Python
- 3. Pengantar Informal Tentang Python
- 4. Lebih Banyak Alat Pengatur Aliran Control Flow
- 5. Struktur Data
- 6. Modul-Modul
- 7. Masukan dan Keluaran
- 8. Kesalahan errors dan Pengecualian exceptions
- 9. Classes
- 10. Tur Singkat Pustaka Standar
- 11. Tur Singkat Pustaka Standar --- Bagian II
- 12. Lingkungan dan Paket Virtual
- 13. Lalu apa sekarang?
- 14. Pengeditan Input Interaktif dan Penggantian Riwayat
- 15. Aritmatika Pecahan Floating Point: Masalah dan Keterbatasan
- 16. Lampiran
- Pengaturan dan Penggunaan Python
- 1. Baris perintah dan lingkungan
- 2. Using Python on Unix platforms
- 3. Configure Python
- 4. Menggunakan Python di Windows
- 5. Using Python on a Mac
- 6. Editor dan IDE
- 1. Baris perintah dan lingkungan
- Referensi Bahasa Python
- 1. Pengenalan
- 2. Lexical analysis
- 3. Data model
- 4. Execution model
- 5. The import system
- 6. Expressions
- 7. Simple statements
- 8. Pernyataan gabungan
- 9. Komponen tingkat atas
- 10. Spesifikasi Lengkap Tata Bahasa
- 1. Pengenalan
- Pustaka Standar Python
- Pengenalan
- Fungsi Bawaan
- Konstanta Bawaan
- Tipe Bawaan
- Built-in Exceptions
- Layanan Pemrosesan Teks
make touch
4 --- Operasi umum pada string.make touch
5 --- Regular expression operationsmake touch
6 --- Helpers for computing deltasmake touch
7 --- Text wrapping and fillingmake touch
8 --- Unicode Databasemake touch
9 --- Internet String Preparationmake regen-all
0 --- GNU readline interfacemake regen-all
1 --- Completion function for GNU readline
- Servis Data Binary
make regen-all
2 --- Interpret bytes as packed binary datamake regen-all
3 --- Codec registry and base classes
- Tipe Data
make regen-all
7 --- Basic date and time typesencoding="locale"
02 --- IANA time zone supportencoding="locale"
05 --- Fungsi-fungsi umum yang terkait dengan modul calendarencoding="locale"
06 --- Container datatypesencoding="locale"
20 --- Abstract Base Classes for Containersencoding="locale"
21 --- Heap queue algorithmencoding="locale"
22 --- Array bisection algorithmencoding="locale"
23 --- Efficient arrays of numeric valuesencoding="locale"
24 --- Weak referencesencoding="locale"
26 --- Dynamic type creation and names for built-in typesencoding="locale"
27 --- Operasi shallow copy dan deep copyencoding="locale"
28 --- Data pretty printerencoding="locale"
29 --- Alternateencoding="locale"
30 implementationencoding="locale"
31 --- Support for enumerationsencoding="locale"
43 --- Functionality to operate with graph-like structures
- Modul Numerik dan Matematika
encoding="locale"
44 --- Numeric abstract base classesencoding="locale"
45 --- Mathematical functionsencoding="locale"
46 --- Mathematical functions for complex numbersencoding="locale"
47 --- Decimal fixed point and floating point arithmeticencoding="locale"
6 --- Rational numbersencoding="locale"
49 --- Generate pseudo-random numbersencoding="locale"
50 --- Mathematical statistics functions
- Modul Pemrograman Fungsional
encoding="locale"
53 --- Functions creating iterators for efficient loopingencoding="locale"
54 --- Higher-order functions and operations on callable objectsencoding="locale"
56 --- Standard operators as functions
- File and Directory Access
encoding="locale"
57 --- Object-oriented filesystem pathsencoding="locale"
59 --- Common pathname manipulationsencoding="locale"
60 --- Iterate over lines from multiple input streamsencoding="locale"
61 --- Interpretingencoding="locale"
62 resultsencoding="locale"
63 --- File and Directory Comparisonsencoding="locale"
65 --- Generate temporary files and directoriesencoding="locale"
66 --- Ekspansi pola nama jalur bergaya Unixencoding="locale"
67 --- Unix filename pattern matchingencoding="locale"
68 --- Random access to text linesencoding="locale"
69 --- High-level file operations
- Persistensi Data
encoding="locale"
70 --- Python object serializationencoding="locale"
73 --- Registerencoding="locale"
70 support functionsencoding="locale"
75 --- Python object persistenceencoding="locale"
71 --- Internal Python object serializationencoding="locale"
77 --- Interfaces to Unix "databases"encoding="locale"
81 --- DB-API 2.0 antarmuka untuk basisdata SQLite
- Kompresi Data dan Pengarsipan
encoding="locale"
82 --- Compression compatible with gzipencoding="locale"
83 --- Support for gzip filesencoding="locale"
84 --- Support for bzip2 compressionencoding="locale"
85 --- Compression using the LZMA algorithmencoding="locale"
86 --- Work with ZIP archivesencoding="locale"
87 --- Read and write tar archive files
- File Formats
encoding="locale"
88 --- Baca dan Tulis file CSVencoding="locale"
89 --- Configuration file parserencoding="locale"
90 --- netrc file processing=
0 --- Generate and parse Appleencoding="locale"
92 files
- Layanan Kriptografi
encoding="locale"
93 --- Secure hashes and message digestsencoding="locale"
94 --- Keyed-Hashing for Message Authenticationencoding="locale"
95 --- Generate secure random numbers for managing secrets
- Layanan Sistem Operasi Generik
encoding="locale"
58 --- Miscellaneous operating system interfacesencoding="locale"
97 --- Core tools for working with streamsmake touch
4 --- Akses waktu dan konversiencoding="locale"
99 --- Parser for command-line options, arguments and sub-commands=
02 --- C-style parser for command line options=
03 --- Logging facility for Python=
04 --- Logging configuration=
05 --- Logging handlers=
06 --- Portable password input=
07 --- Terminal handling for character-cell displays=
09 --- Utilities for ASCII characters=
10 --- A panel stack extension for curses=
11 --- Access to underlying platform's identifying data=
12 --- Standard errno system symbols=
13 --- A foreign function library for Python
- Eksekusi Serentak
=
14 --- Thread-based parallelismencoding="locale"
4 --- Process-based parallelism=
23 --- Shared memory for direct access across processes- Paket
=
24 encoding="locale"
0 --- Launching parallel tasks=
26 --- Subprocess management=
35 --- Event scheduler=
36 --- A synchronized queue class=
37 --- Context Variables=
38 --- Low-level threading API
- Komunikasi Interproses dan Networking
=
39 --- Asynchronous I/O- Coroutines and Tasks
- Streams
- Synchronization Primitives
- Subprocesses
- Queues
- Pengecualian
- Event Loop
- Futures
- Transports and Protocols
- Policies
- Platform Support
- Indeks API Tingkat-atas
- Low-level API Index
- Developing with asyncio
- Coroutines and Tasks
=
40 --- Low-level networking interface=
43 --- TLS/SSL wrapper for socket objects=
44 --- Waiting for I/O completion=
46 --- High-level I/O multiplexing=
47 --- Set handlers for asynchronous events=
48 --- Memory-mapped file support
- Penanganan Data Internet
=
49 --- Paket penanganan email dan MIME=
50: Representing an email message=
51: Parsing email messages=
52: Generating MIME documents=
53: Policy Objects=
54: Exception and Defect classes=
55: Custom Header Objects=
56: Managing MIME Content=
49: Examples=
58: Representing an email message using the=
59 API=
60: Creating email and MIME objects from scratch=
61: Internationalized headers=
62: Representing character sets=
63: Encoders=
64: Miscellaneous utilities=
65: Iterators
encoding="locale"
9 --- JSON encoder dan decoder=
67 --- Manipulate mailboxes in various formats=
80 --- Map filenames to MIME types=
81 --- Base16, Base32, Base64, Base85 Data Encodings=
82 --- Encode and decode binhex4 files=
83 --- Convert between binary and ASCII=
84 --- Encode and decode MIME quoted-printable data
- Alat Pemroses Markup Terstruktur
=
85 --- Dukungan HyperText Markup Language=
86 --- Simple HTML and XHTML parser=
88 --- Definisi entitas umum HTML- XML Processing Modules
=
90 --- The ElementTree XML API=
91 --- The Document Object Model API=
92 --- Minimal DOM implementation=
93 --- Support for building partial DOM trees=
94 --- Support for SAX2 parsers=
95 --- Base classes for SAX handlers=
96 --- SAX Utilities=
97 --- Interface for XML parsersbreakpoint[]
00 --- Fast XML parsing using Expat
- Protokol Internet dan Dukungan
breakpoint[]
01 --- Convenient web-browser controllerbreakpoint[]
02 --- WSGI Utilities and Reference Implementationbreakpoint[]
08 --- Modul penanganan URLbreakpoint[]
09 --- Extensible library for opening URLsbreakpoint[]
12 --- Parse URLs into componentsbreakpoint[]
13 --- Exception classes raised by urllib.requestbreakpoint[]
14 --- Parser for robots.txtbreakpoint[]
15 --- modul HTTPbreakpoint[]
16 --- HTTP protocol clientbreakpoint[]
17 --- FTP protocol clientbreakpoint[]
18 --- POP3 protocol clientbreakpoint[]
19 --- IMAP4 protocol clientbreakpoint[]
20 --- SMTP protocol clientbreakpoint[]
21 --- UUID objects according to RFC 4122breakpoint[]
22 --- A framework for network serversbreakpoint[]
25 --- HTTP serversbreakpoint[]
26 --- HTTP state managementbreakpoint[]
27 --- Cookie handling for HTTP clientsbreakpoint[]
28 --- XMLRPC server and client modulesbreakpoint[]
29 --- akses klien XML-RPCbreakpoint[]
30 --- Basic XML-RPC serversbreakpoint[]
31 --- IPv4/IPv6 manipulation library
- Layanan Multimedia
breakpoint[]
32 --- Read and write WAV filesbreakpoint[]
33 --- Conversions between color systems
- Internasionalisasi
breakpoint[]
34 --- Multilingual internationalization servicesbreakpoint[]
37 --- Internationalization services
- Kerangka Program
breakpoint[]
38 --- Turtle graphicsbreakpoint[]
40 --- Support for line-oriented command interpretersbreakpoint[]
41 --- Simple lexical analysis
- User Interfaces Grafis dengan Tk
breakpoint[]
42 --- Python interface to Tcl/Tkbreakpoint[]
43 --- Color choosing dialogbreakpoint[]
44 --- Tkinter font wrapper- Tkinter Dialogs
breakpoint[]
48 --- Tkinter message promptsbreakpoint[]
49 --- Scrolled Text Widgetbreakpoint[]
50 --- Drag and drop supportbreakpoint[]
51 --- Tk themed widgetsbreakpoint[]
52 --- Extension widgets for Tk- IDLE
- Alat Pengembangan
typing
--- Support for type hintsbreakpoint[]
58 --- Documentation generator and online help system- Python Development Mode
breakpoint[]
59 --- Contoh uji interaktif Pythonbreakpoint[]
60 --- Unit testing frameworkbreakpoint[]
61 --- mock object librarybreakpoint[]
61 --- getting started- 2to3 --- Automated Python 2 to 3 code translation
breakpoint[]
64 --- Regression tests package for Python
- Debugging dan Profiling
- Audit events table
breakpoint[]
74 --- Debugger frameworkbreakpoint[]
75 --- Dump the Python tracebackbreakpoint[]
76 --- The Python Debugger- The Python Profilers
breakpoint[]
80 --- Measure execution time of small code snippetsbreakpoint[]
81 --- Trace or track Python statement executionbreakpoint[]
82 --- Trace memory allocations
- Pengemasan dan Distribusi Perangkat Lunak
breakpoint[]
83 --- Building and installing Python modulesbreakpoint[]
84 --- Bootstrapping thebreakpoint[]
85 installerbreakpoint[]
86 --- Creation of virtual environmentsbreakpoint[]
88 --- Manage executable Python zip archives
- Layanan Runtime Python
breakpoint[]
89 --- System-specific parameters and functionsbreakpoint[]
90 --- Provide access to Python's configuration informationbreakpoint[]
92 --- Objek-objek bawaan__main__
--- Top-level code environmentbreakpoint[]
97 --- Warning controlbreakpoint[]
98 --- Data Classes__main__
00 --- Utilities fortyping
0-statement contexts__main__
05 --- Abstract Base Classes__main__
06 --- Exit handlers__main__
08 --- Print or retrieve a stack traceback__main__
12 --- Future statement definitions__main__
13 --- Garbage Collector interface__main__
14 --- Inspect live objectstyping
4 --- Site-specific configuration hook
- Ubahsuaian Interpreter Python
__main__
16 --- Interpreter base classes__main__
17 --- Compile Python code
- Mengimpor Modul
__main__
18 --- Import modules from Zip archives__main__
19 --- Package extension utility__main__
20 --- Find modules used by a script__main__
22 --- Locating and executing Python modulesbreakpoint[]
4 --- The implementation of__main__
3- Using
__main__
30
- Layanan Bahasa Python
encoding="locale"
7 --- Abstract Syntax Trees__main__
33 --- Access to the compiler's symbol tables__main__
34 --- Konstanta digunakan dengan pohon pengurai [parse tree] Python__main__
35 --- Pengujian untuk kata kunci Python__main__
36 --- Tokenizer for Python source- mod:tabnanny --- Deteksi indentasi ambigu
__main__
37 --- Python module browser support__main__
38 --- Compile Python source files__main__
39 --- Byte-compile Python libraries__main__
40 --- Disassembler for Python bytecode__main__
41 --- Tools for pickle developers
- Layanan MS Windows Spesifik
__main__
42 --- Useful routines from the MS VC++ runtime__main__
43 --- Windows registry access__main__
44 --- Sound-playing interface for Windows
- Layanan Khusus Unix
__main__
45 --- The most common POSIX system calls__main__
46 --- The password database__main__
47 --- The group database__main__
48 --- POSIX style tty control__main__
49 --- Terminal control functions__main__
50 --- Pseudo-terminal utilities__main__
51 --- The__main__
51 and__main__
53 system calls__main__
54 --- Resource usage information__main__
55 --- Unix syslog library routines
- Modul yang Diganti
__main__
56 --- Read and write AIFF and AIFC files__main__
57 --- Asynchronous socket command/response handler__main__
58 --- Asynchronous socket handler__main__
59 --- Manipulate raw audio data__main__
60 --- Common Gateway Interface support__main__
61 --- Traceback manager for CGI scripts__main__
62 --- Read IFF chunked data__main__
63 --- Function to check Unix passwords__main__
64 --- Determine the type of an image__main__
65 --- Access the import internals__main__
66 --- Mailcap file handling__main__
67 --- Read and write Microsoft Installer files__main__
68 --- Interface to Sun's NIS [Yellow Pages]__main__
69 --- NNTP protocol client__main__
70 --- Parser for command line options__main__
73 --- Access to OSS-compatible audio devices__main__
74 --- Interface to shell pipelines__main__
75 --- SMTP Server__main__
76 --- Determine type of sound file__main__
77 --- The shadow password database__main__
78 --- Read and write Sun AU files__main__
79 --- Telnet client__main__
80 --- Encode and decode uuencode files__main__
81 --- Encode and decode XDR data
- Security Considerations
- Pengenalan
- Memperluas dan Menggabungkan Interpreter Python
- 1. Extending Python with C or C++
- 2. Mendefinisikan Tipe Ekstensi: Tutorial
- 3. Defining Extension Types: Assorted Topics
- 4. Building C and C++ Extensions
- 5. Building C and C++ Extensions on Windows
- 1. Extending Python with C or C++
- 1. Embedding Python in Another Application
- 1. Embedding Python in Another Application
- Panduan Referensi Python/API C
- Pengenalan
- C API Stability
- The Very High Level Layer
- Reference Counting
- Penanganan Pengecualian
- Utilitas
- Operating System Utilities
- Mengimpor Modul
- Data marshalling support
- Mengurai argumen dan membangun nilai
- Pemformatan dan konversi string
- Reflection
- Codec registry and support functions
- Lapisan Abstrak Objek
- Object Protocol
- Call Protocol
- Number Protocol
- Sequence Protocol
- Protokol Pemetaan
- Iterator Protocol
- Protokol Penampung Buffer
- Old Buffer Protocol
- Lapisan Objek Konkrit
- Objek Tipe
- Objek
__main__
82
- Objek Tipe
- Integer Objects
- Objek Boolean
- Objek Pecahan
- Objek Bilangan Kompleks
- Bytes Objects
- Objek Byte Array
- Unicode Objects and Codecs
- Tuple Objects
- List Objects
- Objek Dictionary
- Set Objects
- Objek Fungsi
- Instance Method Objects
- Objek Sel, Cell
- Objek Kode
- Objek File
- Module Objects
- Objek Iterator
- Obyek Deskriptor
- Slice Objects
- MemoryView objects
- Weak Reference Objects
- Kapsul
- Generator Objects
- Objek Coroutine
- Context Variables Objects
- Objek DateTime
- Objects for Type Hinting
- Initialization, Finalization, and Threads
- Python Initialization Configuration
- Memory Management
- Dukungan Implementasi Objek
- Mengalokasikan objek kedalam struktur data [heap]
- Struktur Objek Umum
- Objek Tipe
- Supporting Cyclic Garbage Collection
- Pengelolaan Versi API dan ABI
- Pengenalan
- Mendistribusikan Modul Python
- Memasang Modul-modul Python
- HOWTOs Python
- Penyesuaian Porting Kode Python 2 ke Python 3
- Penyesuaian Porting Modul Ekstensi ke Python 3
- Pemrograman Curses dengan Python
- Descriptor HowTo Guide
- Pemrograman Fungsional HOWTO
- Logging HOWTO
- Logging Cookbook
- Regular Expression HOWTO
- HOWTO Pemrograman Soket
- Sorting HOW TO
- Unicode HOWTO
- HOWTO Fetch Internet Resources Using The urllib Package
- Argparse Tutorial
- An introduction to the ipaddress module
- Klinik Argumen How-To
- Instrumenting CPython with DTrace and SystemTap
- Annotations Best Practices
- Penyesuaian Porting Kode Python 2 ke Python 3
- Pertanyaan tentang Python yang Sering Diajukan
- FAQ Umum Python
- Pemrograman FAQ
- Desain dan Sejarah FAQ
- FAQ Pustaka dan Ekstensi
- Extending/Embedding FAQ
- FAQ Python di Windows
- Antarmuka Pengguna Grafis FAQ
- "Kenapa Python Terpasang di Komputer saya?" FAQ
- FAQ Umum Python
- Ikhtisar
- Tentang dokumen-dokumen ini
- Berurusan dengan Bugs
- Hak Cipta
- Sejarah dan Lisensi
Apa itu custom exception handling pada python?
Python Exception handling adalah suatu mekanisme penanganan flow normal program karena terjadi exception dengan melanjutkan flow ke code block lainnya. Kenapa harus menangani exception? Karena terjadi exception dan kita tidak tangani, maka program akan berhenti.
Apa itu Exception pada python?
Exception adalah objek Python yang mewakili kesalahan.
Apa penyebab terjadinya suatu pengecualian exceptions di suatu program?
Exception dipicu oleh runtime error, yaitu error atau kesalahan yang terjadi saat program dieksekusi oleh interpreter.
Apa itu try dan except di Python?
Try digunakan untuk menguji suatu instruksi. Except untuk menampilkan pesan kesalahan.