Python logo

Topik sebelumnya

Built-in Exceptions

Topik berikutnya

string --- Common string operations

This page

  • Report a bug
  • Show source

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.15.0a0 Documentation »
  • Pustaka Standar Python »
  • Layanan Pemrosesan Teks
  • |
  • |

Layanan Pemrosesan Teks¶

Modul yang dijelaskan dalam bab ini menyediakan berbagai operasi manipulasi string dan layanan pemrosesan text lainnya.

Modul codecs yang dijelaskan pada Servis Data Binary juga sangat relevan untuk pemrosesan text. Lihat juga dokumentasi untuk tipe string bawaan Python di Text Sequence Type --- str.

  • string --- Common string operations
    • Konstanta pada string
    • Custom String Formatting
    • Format String Syntax
      • Format Specification Mini-Language
      • Format examples
    • Template strings ($-strings)
    • Helper functions
  • string.templatelib --- Support for template string literals
    • Template strings
    • Tipe-tipe
    • Helper functions
  • re --- Regular expression operations
    • Regular Expression Syntax
    • Modul-Modul
      • Flags
      • Fungsi-Fungsi
      • Pengecualian
    • Regular Expression Objects
    • Match Objects
    • Regular Expression Examples
      • Checking for a Pair
      • Simulating scanf()
      • search() vs. match()
      • Making a Phonebook
      • Text Munging
      • Finding all Adverbs
      • Finding all Adverbs and their Positions
      • Raw String Notation
      • Writing a Tokenizer
  • difflib --- Helpers for computing deltas
    • SequenceMatcher Objects
    • SequenceMatcher Examples
    • Differ Objects
    • Differ Example
    • A command-line interface to difflib
    • ndiff example
  • textwrap --- Text wrapping and filling
  • unicodedata --- Unicode Database
  • stringprep --- Internet String Preparation
  • readline --- GNU readline interface
    • Init file
    • Line buffer
    • History file
    • History list
    • Startup hooks
    • Completion
    • Contoh
  • rlcompleter --- Completion function for GNU readline

Topik sebelumnya

Built-in Exceptions

Topik berikutnya

string --- Common string operations

This page

  • Report a bug
  • Show source
«

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.15.0a0 Documentation »
  • Pustaka Standar Python »
  • Layanan Pemrosesan Teks
  • |
  • |
© Hak cipta 2001 Python Software Foundation.
Halaman ini dilisensikan di bawah Lisensi Python Software Foundation Versi 2.
Contoh, resep, dan kode lainnya dalam dokumentasi juga dilisensikan di bawah Lisensi Zero Clause BSD.
Lihat Sejarah dan Lisensi untuk informasi lebih lanjut.

Python Software Foundation adalah sebuah korporasi nirlaba. Mari berdonasi.

Terakhir diperbarui pada Sep 28, 2025 (04:45 UTC). Menemukan kekutu?
Dibuat menggunakan Sphinx 8.2.3.