GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • index
  • modules
  • next
  • previous
  • Python v3.0.1 documentation
  • The Python Standard Library
  • re — Regular expression operations

This view

  • Original page
  • New address

GeezerVison is showing docs.python.org — String Services — Python v3.0.1 documentation

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python v3.0.1 documentation »
  • The Python Standard Library »

String Services¶

The modules described in this chapter provide a wide range of string manipulation operations.

In addition, Python’s built-in string classes support the sequence type methods described in the Sequence Types — str, bytes, bytearray, list, tuple, range section, and also the string-specific methods described in the String Methods section. To output formatted strings, see the String Formatting section. Also, see the re module for string functions based on regular expressions.

  • string — Common string operations
    • String constants
    • String Formatting
    • Format String Syntax
      • Format Specification Mini-Language
    • Template strings
    • String functions
  • re — Regular expression operations
    • Regular Expression Syntax
    • Matching vs Searching
    • Module Contents
    • Regular Expression Objects
    • Match Objects
    • Examples
      • Checking For a Pair
      • Simulating scanf()
      • Avoiding recursion
      • search() vs. match()
      • Making a Phonebook
      • Text Munging
      • Finding all Adverbs
      • Finding all Adverbs and their Positions
      • Raw String Notation
  • struct — Interpret bytes as packed binary data
    • Struct Objects
  • difflib — Helpers for computing deltas
    • SequenceMatcher Objects
    • SequenceMatcher Examples
    • Differ Objects
    • Differ Example
    • A command-line interface to difflib
  • textwrap — Text wrapping and filling
  • codecs — Codec registry and base classes
    • Codec Base Classes
      • Codec Objects
      • IncrementalEncoder Objects
      • IncrementalDecoder Objects
      • StreamWriter Objects
      • StreamReader Objects
      • StreamReaderWriter Objects
      • StreamRecoder Objects
    • Encodings and Unicode
    • Standard Encodings
    • encodings.idna — Internationalized Domain Names in Applications
    • encodings.utf_8_sig — UTF-8 codec with BOM signature
  • unicodedata — Unicode Database
  • stringprep — Internet String Preparation

Previous topic

Built-in Exceptions

Next topic

string — Common string operations

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python v3.0.1 documentation »
  • The Python Standard Library »
© Copyright 1990-2009, Python Software Foundation. Last updated on Feb 14, 2009. Created using Sphinx 0.6.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.