annotate Doc/lib/libpython.tex @ 6615:e54d5171902e legacy-trunk

Add description for some modules that have been added since this intro section was last revised...
author Guido van Rossum <guido@python.org>
date Thu, 20 Nov 1997 21:03:33 +0000
parents 5abc1a36bedd
children 7edc30df73f6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2609
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 \chapter{Python Services}
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
2
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 The modules described in this chapter provide a wide range of services
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 related to the Python interpreter and its interaction with its
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 environment. Here's an overview:
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 \begin{description}
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
8
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 \item[sys]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 --- Access system specific parameters and functions.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
11
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 \item[types]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 --- Names for all built-in types.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
14
5220
e1f613322b23 Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents: 3761
diff changeset
15 \item[UserDict, UserList]
e1f613322b23 Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents: 3761
diff changeset
16 --- Class wrappers for dictionary and list objects.
e1f613322b23 Added docs for UserDict,UserList
Guido van Rossum <guido@python.org>
parents: 3761
diff changeset
17
6615
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
18 \item[operator]
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
19 --- All python's standard operators as built-in functions.
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
20
2609
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 \item[traceback]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 --- Print or retrieve a stack traceback.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
23
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 \item[pickle]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 --- Convert Python objects to streams of bytes and back.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
26
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 \item[shelve]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 --- Python object persistency.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
29
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 \item[copy]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 --- Shallow and deep copy operations.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
32
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 \item[marshal]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
34 --- Convert Python objects to streams of bytes and back (with
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 different constraints).
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
36
6615
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
37 \item[ni]
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
38 --- New import (obsolete).
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
39
2609
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 \item[imp]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 --- Access the implementation of the \code{import} statement.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
42
3761
e603601c68cf added parser module to overview
Guido van Rossum <guido@python.org>
parents: 2609
diff changeset
43 \item[parser]
e603601c68cf added parser module to overview
Guido van Rossum <guido@python.org>
parents: 2609
diff changeset
44 --- Retrieve and submit parse trees from and to the runtime support
e603601c68cf added parser module to overview
Guido van Rossum <guido@python.org>
parents: 2609
diff changeset
45 environment.
e603601c68cf added parser module to overview
Guido van Rossum <guido@python.org>
parents: 2609
diff changeset
46
6615
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
47 \item[keyword]
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
48 --- Test whether a string is a keyword in the Python language.
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
49
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
50 \item[code]
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
51 --- Code object services.
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
52
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
53 \item[pprint]
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
54 --- Data pretty printer.
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
55
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
56 \item[dis]
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
57 --- Disassembler.
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
58
5262
5abc1a36bedd Added site
Guido van Rossum <guido@python.org>
parents: 5220
diff changeset
59 \item[site]
5abc1a36bedd Added site
Guido van Rossum <guido@python.org>
parents: 5220
diff changeset
60 --- A standard way to reference site-specific modules.
5abc1a36bedd Added site
Guido van Rossum <guido@python.org>
parents: 5220
diff changeset
61
6615
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
62 \item[user]
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
63 --- A standard way to reference user-specific modules.
e54d5171902e Add description for some modules that have been added since this intro
Guido van Rossum <guido@python.org>
parents: 5262
diff changeset
64
2609
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
65 \item[__builtin__]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
66 --- The set of built-in functions.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
67
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
68 \item[__main__]
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
69 --- The environment where the top-level script is run.
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
70
7ef72873e4d6 restructured library manual accordiung to functional group
Guido van Rossum <guido@python.org>
parents:
diff changeset
71 \end{description}