Logo

Topik sebelumnya

Built-in Exceptions

Topik berikutnya

string --- Operasi umum pada string.

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • python logo
  • Python »
  • 3.8.14 Documentation »
  • Pustaka Standar Python »
  • |

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 --- Operasi umum pada string.
    • Konstanta pada string
    • Custom String Formatting
    • Format String Syntax
      • Format Specification Mini-Language
      • Format examples
    • Template strings
    • Helper functions
  • re --- Regular expression operations
    • Regular Expression Syntax
    • Modul-Modul
    • 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
  • 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
    • Completer Objects

Topik sebelumnya

Built-in Exceptions

Topik berikutnya

string --- Operasi umum pada string.

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • python logo
  • Python »
  • 3.8.14 Documentation »
  • Pustaka Standar Python »
  • |
© Hak Cipta 2001-2022, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.

The Python Software Foundation is a non-profit corporation. Please donate.

Terakhir diperbarui pada Sep 12, 2022. Found a bug?
Created using Sphinx 2.4.4.