Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | <html> | |
3 | <head> | |
4 | <link rel="STYLESHEET" href="tut.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="tut.html" title='Python Tutorial' /> | |
8 | <link rel='contents' href='node2.html' title="Contents" /> | |
9 | <link rel='index' href='node19.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="node2.html" /> | |
13 | <link rel="prev" href="tut.html" /> | |
14 | <link rel="parent" href="tut.html" /> | |
15 | <link rel="next" href="node2.html" /> | |
16 | <meta name='aesop' content='information' /> | |
17 | <title>Front Matter</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="Python Tutorial" | |
25 | href="tut.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 Tutorial" | |
28 | href="tut.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="Contents" | |
31 | href="node2.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 Tutorial</td> | |
34 | <td class='online-navigation'><a rel="contents" title="Table of Contents" | |
35 | href="node2.html"><img src='../icons/contents.png' | |
36 | border='0' height='32' alt='Contents' width='32' /></A></td> | |
37 | <td class='online-navigation'><img src='../icons/blank.png' | |
38 | border='0' height='32' alt='' width='32' /></td> | |
39 | <td class='online-navigation'><a rel="index" title="Index" | |
40 | href="node19.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="tut.html">Python Tutorial</A> | |
46 | <b class="navlabel">Up:</b> | |
47 | <a class="sectref" rel="parent" href="tut.html">Python Tutorial</A> | |
48 | <b class="navlabel">Next:</b> | |
49 | <a class="sectref" rel="next" href="node2.html">Contents</A> | |
50 | </div> | |
51 | <hr /></div> | |
52 | </DIV> | |
53 | <!--End of Navigation Panel--> | |
54 | ||
55 | <H1><A NAME="SECTION001000000000000000000"></A><A NAME="front"></A> | |
56 | <BR> | |
57 | Front Matter | |
58 | </H1> | |
59 | ||
60 | <P> | |
61 | Copyright © 2001-2004 Python Software Foundation. | |
62 | All rights reserved. | |
63 | ||
64 | <P> | |
65 | Copyright © 2000 BeOpen.com. | |
66 | All rights reserved. | |
67 | ||
68 | <P> | |
69 | Copyright © 1995-2000 Corporation for National Research Initiatives. | |
70 | All rights reserved. | |
71 | ||
72 | <P> | |
73 | Copyright © 1991-1995 Stichting Mathematisch Centrum. | |
74 | All rights reserved. | |
75 | ||
76 | <P> | |
77 | See the end of this document for complete license and permissions | |
78 | information. | |
79 | ||
80 | <P> | |
81 | ||
82 | <H3>Abstract:</H3> | |
83 | <DIV CLASS="ABSTRACT"> | |
84 | ||
85 | <P> | |
86 | Python is an easy to learn, powerful programming language. It has | |
87 | efficient high-level data structures and a simple but effective | |
88 | approach to object-oriented programming. Python's elegant syntax and | |
89 | dynamic typing, together with its interpreted nature, make it an ideal | |
90 | language for scripting and rapid application development in many areas | |
91 | on most platforms. | |
92 | ||
93 | <P> | |
94 | The Python interpreter and the extensive standard library are freely | |
95 | available in source or binary form for all major platforms from the | |
96 | Python Web site, <a class="url" href="http://www.python.org/">http://www.python.org/</a>, and may be freely | |
97 | distributed. The same site also contains distributions of and | |
98 | pointers to many free third party Python modules, programs and tools, | |
99 | and additional documentation. | |
100 | ||
101 | <P> | |
102 | The Python interpreter is easily extended with new functions and data | |
103 | types implemented in C or C++ (or other languages callable from C). | |
104 | Python is also suitable as an extension language for customizable | |
105 | applications. | |
106 | ||
107 | <P> | |
108 | This tutorial introduces the reader informally to the basic concepts | |
109 | and features of the Python language and system. It helps to have a | |
110 | Python interpreter handy for hands-on experience, but all examples are | |
111 | self-contained, so the tutorial can be read off-line as well. | |
112 | ||
113 | <P> | |
114 | For a description of standard objects and modules, see the | |
115 | <em class="citetitle"><a | |
116 | href="../lib/lib.html" | |
117 | title="Python Library Reference" | |
118 | >Python Library Reference</a></em> document. The | |
119 | <em class="citetitle"><a | |
120 | href="../ref/ref.html" | |
121 | title="Python Reference Manual" | |
122 | >Python Reference Manual</a></em> gives a more | |
123 | formal definition of the language. To write extensions in C or | |
124 | C++, read <em class="citetitle"><a | |
125 | href="../ext/ext.html" | |
126 | title="Extending and Embedding the | |
127 | Python Interpreter" | |
128 | >Extending and Embedding the | |
129 | Python Interpreter</a></em> and <em class="citetitle"><a | |
130 | href="../api/api.html" | |
131 | title="Python/C API | |
132 | Reference" | |
133 | >Python/C API | |
134 | Reference</a></em>. There are also several books covering Python in depth. | |
135 | ||
136 | <P> | |
137 | This tutorial does not attempt to be comprehensive and cover every | |
138 | single feature, or even every commonly used feature. Instead, it | |
139 | introduces many of Python's most noteworthy features, and will give | |
140 | you a good idea of the language's flavor and style. After reading it, | |
141 | you will be able to read and write Python modules and programs, and | |
142 | you will be ready to learn more about the various Python library | |
143 | modules described in the <em class="citetitle"><a | |
144 | href="../lib/lib.html" | |
145 | title="Python Library | |
146 | Reference" | |
147 | >Python Library | |
148 | Reference</a></em>. | |
149 | ||
150 | <P> | |
151 | </DIV> | |
152 | <P> | |
153 | ||
154 | <P> | |
155 | ||
156 | <DIV CLASS="navigation"> | |
157 | <div class='online-navigation'> | |
158 | <p></p><hr /> | |
159 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
160 | <tr> | |
161 | <td class='online-navigation'><a rel="prev" title="Python Tutorial" | |
162 | href="tut.html"><img src='../icons/previous.png' | |
163 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
164 | <td class='online-navigation'><a rel="parent" title="Python Tutorial" | |
165 | href="tut.html"><img src='../icons/up.png' | |
166 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
167 | <td class='online-navigation'><a rel="next" title="Contents" | |
168 | href="node2.html"><img src='../icons/next.png' | |
169 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
170 | <td align="center" width="100%">Python Tutorial</td> | |
171 | <td class='online-navigation'><a rel="contents" title="Table of Contents" | |
172 | href="node2.html"><img src='../icons/contents.png' | |
173 | border='0' height='32' alt='Contents' width='32' /></A></td> | |
174 | <td class='online-navigation'><img src='../icons/blank.png' | |
175 | border='0' height='32' alt='' width='32' /></td> | |
176 | <td class='online-navigation'><a rel="index" title="Index" | |
177 | href="node19.html"><img src='../icons/index.png' | |
178 | border='0' height='32' alt='Index' width='32' /></A></td> | |
179 | </tr></table> | |
180 | <div class='online-navigation'> | |
181 | <b class="navlabel">Previous:</b> | |
182 | <a class="sectref" rel="prev" href="tut.html">Python Tutorial</A> | |
183 | <b class="navlabel">Up:</b> | |
184 | <a class="sectref" rel="parent" href="tut.html">Python Tutorial</A> | |
185 | <b class="navlabel">Next:</b> | |
186 | <a class="sectref" rel="next" href="node2.html">Contents</A> | |
187 | </div> | |
188 | </div> | |
189 | <hr /> | |
190 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> | |
191 | </DIV> | |
192 | <!--End of Navigation Panel--> | |
193 | <ADDRESS> | |
194 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. | |
195 | </ADDRESS> | |
196 | </BODY> | |
197 | </HTML> |