Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v9 / html / python / lib / language.html
CommitLineData
920dae64
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="lib.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="lib.html" title='Python Library Reference' />
8<link rel='contents' href='contents.html' title="Contents" />
9<link rel='index' href='genindex.html' title='Index' />
10<link rel='last' href='about.html' title='About this document...' />
11<link rel='help' href='about.html' title='About this document...' />
12<link rel="next" href="compiler.html" />
13<link rel="prev" href="restricted.html" />
14<link rel="parent" href="lib.html" />
15<link rel="next" href="module-parser.html" />
16<meta name='aesop' content='information' />
17<title>18. Python Language Services </title>
18</head>
19<body>
20<DIV CLASS="navigation">
21<div id='top-navigation-panel' xml:id='top-navigation-panel'>
22<table align="center" width="100%" cellpadding="0" cellspacing="2">
23<tr>
24<td class='online-navigation'><a rel="prev" title="17.2 Bastion "
25 href="module-Bastion.html"><img src='../icons/previous.png'
26 border='0' height='32' alt='Previous Page' width='32' /></A></td>
27<td class='online-navigation'><a rel="parent" title="Python Library Reference"
28 href="lib.html"><img src='../icons/up.png'
29 border='0' height='32' alt='Up One Level' width='32' /></A></td>
30<td class='online-navigation'><a rel="next" title="18.1 parser "
31 href="module-parser.html"><img src='../icons/next.png'
32 border='0' height='32' alt='Next Page' width='32' /></A></td>
33<td align="center" width="100%">Python Library Reference</td>
34<td class='online-navigation'><a rel="contents" title="Table of Contents"
35 href="contents.html"><img src='../icons/contents.png'
36 border='0' height='32' alt='Contents' width='32' /></A></td>
37<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
38 border='0' height='32' alt='Module Index' width='32' /></a></td>
39<td class='online-navigation'><a rel="index" title="Index"
40 href="genindex.html"><img src='../icons/index.png'
41 border='0' height='32' alt='Index' width='32' /></A></td>
42</tr></table>
43<div class='online-navigation'>
44<b class="navlabel">Previous:</b>
45<a class="sectref" rel="prev" href="module-Bastion.html">17.2 Bastion </A>
46<b class="navlabel">Up:</b>
47<a class="sectref" rel="parent" href="lib.html">Python Library Reference</A>
48<b class="navlabel">Next:</b>
49<a class="sectref" rel="next" href="module-parser.html">18.1 parser </A>
50</div>
51<hr /></div>
52</DIV>
53<!--End of Navigation Panel-->
54
55<H1><A NAME="SECTION0020000000000000000000"></A><A NAME="language"></A>
56<BR>
5718. Python Language Services
58
59</H1>
60
61<P>
62Python provides a number of modules to assist in working with the
63Python language. These module support tokenizing, parsing, syntax
64analysis, bytecode disassembly, and various other facilities.
65
66<P>
67These modules include:
68
69<P>
70<table class='synopsistable' valign='baseline'>
71 <tr class='oddrow'>
72 <td><b><tt class='module'><a href='module-parser.html'>parser</a></tt></b></td>
73 <td>&nbsp;</td>
74 <td class='synopsis'>Access parse trees for Python source code.</td></tr>
75 <tr><td><b><tt class='module'><a href='module-symbol.html'>symbol</a></tt></b></td>
76 <td>&nbsp;</td>
77 <td class='synopsis'>Constants representing internal nodes of the parse tree.</td></tr>
78 <tr class='oddrow'>
79 <td><b><tt class='module'><a href='module-token.html'>token</a></tt></b></td>
80 <td>&nbsp;</td>
81 <td class='synopsis'>Constants representing terminal nodes of the parse tree.</td></tr>
82 <tr><td><b><tt class='module'><a href='module-keyword.html'>keyword</a></tt></b></td>
83 <td>&nbsp;</td>
84 <td class='synopsis'>Test whether a string is a keyword in Python.</td></tr>
85 <tr class='oddrow'>
86 <td><b><tt class='module'><a href='module-tokenize.html'>tokenize</a></tt></b></td>
87 <td>&nbsp;</td>
88 <td class='synopsis'>Lexical scanner for Python source code.</td></tr>
89 <tr><td><b><tt class='module'><a href='module-tabnanny.html'>tabnanny</a></tt></b></td>
90 <td>&nbsp;</td>
91 <td class='synopsis'>Tool for detecting white space related problems
92 in Python source files in a directory tree.</td></tr>
93 <tr class='oddrow'>
94 <td><b><tt class='module'><a href='module-pyclbr.html'>pyclbr</a></tt></b></td>
95 <td>&nbsp;</td>
96 <td class='synopsis'>Supports information extraction for a Python class
97 browser.</td></tr>
98 <tr><td><b><tt class='module'><a href='module-pycompile.html'>py_compile</a></tt></b></td>
99 <td>&nbsp;</td>
100 <td class='synopsis'>Compile Python source files to byte-code files.</td></tr>
101 <tr class='oddrow'>
102 <td><b><tt class='module'><a href='module-compileall.html'>compileall</a></tt></b></td>
103 <td>&nbsp;</td>
104 <td class='synopsis'>Tools for byte-compiling all Python source files in a
105 directory tree.</td></tr>
106 <tr><td><b><tt class='module'><a href='module-dis.html'>dis</a></tt></b></td>
107 <td>&nbsp;</td>
108 <td class='synopsis'>Disassembler for Python byte code.</td></tr>
109 <tr class='oddrow'>
110 <td><b><tt class='module'><a href='module-pickletools.html'>pickletools</a></tt></b></td>
111 <td>&nbsp;</td>
112 <td class='synopsis'>Contains extensive comments about the pickle protocols and pickle-machine opcodes, as well as some useful functions.</td></tr>
113 <tr><td><b><tt class='module'><a href='module-distutils.html'>distutils</a></tt></b></td>
114 <td>&nbsp;</td>
115 <td class='synopsis'>Support for building and installing Python modules
116 into an existing Python installation.</td></tr>
117</table>
118
119<BR>
120<DIV CLASS="navigation">
121<div class='online-navigation'>
122<p></p><hr />
123<table align="center" width="100%" cellpadding="0" cellspacing="2">
124<tr>
125<td class='online-navigation'><a rel="prev" title="17.2 Bastion "
126 href="module-Bastion.html"><img src='../icons/previous.png'
127 border='0' height='32' alt='Previous Page' width='32' /></A></td>
128<td class='online-navigation'><a rel="parent" title="Python Library Reference"
129 href="lib.html"><img src='../icons/up.png'
130 border='0' height='32' alt='Up One Level' width='32' /></A></td>
131<td class='online-navigation'><a rel="next" title="18.1 parser "
132 href="module-parser.html"><img src='../icons/next.png'
133 border='0' height='32' alt='Next Page' width='32' /></A></td>
134<td align="center" width="100%">Python Library Reference</td>
135<td class='online-navigation'><a rel="contents" title="Table of Contents"
136 href="contents.html"><img src='../icons/contents.png'
137 border='0' height='32' alt='Contents' width='32' /></A></td>
138<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
139 border='0' height='32' alt='Module Index' width='32' /></a></td>
140<td class='online-navigation'><a rel="index" title="Index"
141 href="genindex.html"><img src='../icons/index.png'
142 border='0' height='32' alt='Index' width='32' /></A></td>
143</tr></table>
144<div class='online-navigation'>
145<b class="navlabel">Previous:</b>
146<a class="sectref" rel="prev" href="module-Bastion.html">17.2 Bastion </A>
147<b class="navlabel">Up:</b>
148<a class="sectref" rel="parent" href="lib.html">Python Library Reference</A>
149<b class="navlabel">Next:</b>
150<a class="sectref" rel="next" href="module-parser.html">18.1 parser </A>
151</div>
152</div>
153<hr />
154<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
155</DIV>
156<!--End of Navigation Panel-->
157<ADDRESS>
158See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
159</ADDRESS>
160</BODY>
161</HTML>