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.5
Python Documentation
Library Reference
Front Matter
Contents
1. Introduction
2. Built-in Objects
3. Built-in Types
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 StringIO -- Read and write strings as files
4.6 cStringIO -- Faster version of StringIO
4.7 textwrap -- Text wrapping and filling
4.8 codecs -- Codec registry and base classes
4.9 unicodedata -- Unicode Database
4.10 stringprep -- Internet String Preparation
4.11 fpformat -- Floating point conversions
5. Data Types
6. Numeric and Mathematical Modules
7. Internet Data Handling
8. Structured Markup Processing Tools
9. File Formats
10. Cryptographic Services
11. File and Directory Access
12. Data Compression and Archiving
13. Data Persistence
14. Generic Operating System Services
15. Optional Operating System Services
16. Unix Specific Services
17. Interprocess Communication and Networking
18. Internet Protocols and Support
19. Multimedia Services
20. Graphical User Interfaces with Tk
21. Internationalization
22. Program Frameworks
23. Development Tools
24. The Python Debugger
25. The Python Profilers
26. Python Runtime Services
27. Custom Python Interpreters
28. Restricted Execution
29. Importing Modules
30. Python Language Services
31. Python compiler package
32. Abstract Syntax Trees
33. Miscellaneous Services
34. SGI IRIX Specific Services
35. SunOS Specific Services
36. MS Windows Specific Services
A. Undocumented Modules
B. Reporting Bugs
C. History and License
Module Index
Index
About this document ...

MyASPN >> Reference >> ActivePython 2.5 >> Python Documentation >> Library Reference
ActivePython 2.5 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.
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
encodings.utf-8-sig   UTF-8 codec with BOM signature
unicodedata   Access the Unicode Database.
stringprep   String preparation, as per RFC 3453
fpformat   General floating point formatting functions.

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

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

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