ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
Python Documentation
Library Reference
Front Matter
Contents
1. Introduction
2. Built-In Objects
3. Python Runtime Services
4. String Services
4.1 string -- Common string operations
4.2 re -- Regular expression operations
4.3 struct -- Interpret strings as packed binary data
4.4 difflib -- Helpers for computing deltas
4.5 fpformat -- Floating point conversions
4.6 StringIO -- Read and write strings as files
4.7 cStringIO -- Faster version of StringIO
4.8 textwrap -- Text wrapping and filling
4.9 codecs -- Codec registry and base classes
4.10 unicodedata -- Unicode Database
4.11 stringprep -- Internet String Preparation
5. Miscellaneous Services
6. Generic Operating System Services
7. Optional Operating System Services
8. Unix Specific Services
9. The Python Debugger
10. The Python Profiler
11. Internet Protocols and Support
12. Internet Data Handling
13. Structured Markup Processing Tools
14. Multimedia Services
15. Cryptographic Services
16. Graphical User Interfaces with Tk
17. Restricted Execution
18. Python Language Services
19. Python compiler package
20. SGI IRIX Specific Services
21. SunOS Specific Services
22. MS Windows Specific Services
A. Undocumented Modules
B. Reporting Bugs
C. History and License
Module Index
Index
About this document ...

MyASPN >> Reference >> ActivePython 2.4 >> Python Documentation >> Library Reference
ActivePython 2.4 documentation


4. String Services

The modules described in this chapter provide a wide range of string manipulation operations. Here's an overview:

string   Common string operations.
re   Regular expression search and match operations with a Perl-style expression syntax.
struct   Interpret strings as packed binary data.
difflib   Helpers for computing differences between objects.
fpformat   General floating point formatting functions.
StringIO   Read and write strings as if they were files.
cStringIO   Faster version of StringIO, but not subclassable.
textwrap   Text wrapping and filling
codecs   Encode and decode data and streams.
encodings.idna   Internationalized Domain Names implementation
unicodedata   Access the Unicode Database.
stringprep   String preparation, as per RFC 3453

Information on the methods of string objects can be found in section 2.3.6, ``String Methods.''

See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved