/
tutorials.html
256 lines (212 loc) · 7 KB
/
tutorials.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<HTML>
<!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. -->
<!--User-specified headers:
Title: Tutorials
Wide-page:
Meta:
Banner:
Banner-alt: Python
Author: webmaster@python.org
-->
<HEAD>
<TITLE>Tutorials</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#0000BB" VLINK="#551A8B" ALINK="#FF0000">
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD WIDTH=150 VALIGN=CENTER BGCOLOR="#99CCFF">
<CENTER><A HREF="../../"
><IMG BORDER=0 SRC="../../pics/PyBanner053.gif"
></A></CENTER>
</TD>
<TD WIDTH=15 BGCOLOR="#99CCFF"> </TD><!--spacer-->
<TD WIDTH="90%" BGCOLOR="#99CCFF">
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0
COLS=4 ROWS=2 BGCOLOR="#99CCFF">
<TR>
<TD WIDTH="25%" BGCOLOR="#99CCFF"><A HREF="../.././">Home</A></TD>
<TD WIDTH="25%" BGCOLOR="#99CCFF"><A HREF="../../search/">Search</A></TD>
<TD WIDTH="25%" BGCOLOR="#99CCFF"><A HREF="../../download/">Download</A></TD>
<TD WIDTH="25%" BGCOLOR="#99CCFF"><A HREF="../../doc/">Documentation</A></TD>
</TR>
<TR>
<TD WIDTH="25%" BGCOLOR="#99CCFF"><A HREF="../../Help.html">Help</A></TD>
<TD WIDTH="25%" BGCOLOR="#99CCFF"><A HREF="../../psa/">Community</A></TD>
<TD WIDTH="25%" BGCOLOR="#99CCFF"><A HREF="../../sigs/">SIGs</A></TD>
<TD WIDTH="25%" BGCOLOR="#99CCFF"><A HREF="../../download/Contributed.html">Modules</A></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD WIDTH=150 VALIGN=TOP BGCOLOR="#99CCFF">
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0
BGCOLOR="#99CCFF">
<!--User insert Other-links starts here-->
<!--User insert Other-links ends here-->
<TR>
<TD BGCOLOR="#003366">
<FONT COLOR="#FFFFFF"><b>Email us</b></FONT>
</TD>
</TR>
<TR>
<TD BGCOLOR="#99CCFF">
<A HREF="mailto:webmaster@python.org">webmaster@python.org</A>
<P>
<CENTER>
<A HREF="../../psa/Logo.html"
><IMG SRC=../../pics/PythonPoweredSmall.gif
WIDTH=55 HEIGHT=22 BORDER=0></A>
</CENTER>
</TD>
</TR>
</TABLE>
</TD>
<TD WIDTH=15> </TD><!--spacer-->
<TD VALIGN=TOP WIDTH="90%">
<BR>
<!--User part of page starts here-->
<center>
<IMG ALIGN=middle SRC="./tutorials.gif" ALT="Tutorials">
</center><P>
<H1>Contents</H1>
<P>
<UL>
<LI><A HREF="#intro">An Introduction to Python</A></LI>
<LI><A HREF="#internet">Python Scripting for Internet Servers</A></LI>
<LI><A HREF="#eande">Extending and Embedding Python</A></LI>
</UL>
</P>
<HR>
<H3 ALIGN="CENTER"><A NAME="intro">An Introduction to Python</A><BR>
<EM>Paul F. Dubois, LLNL, USA</EM></H3>
<P>
Python is an object-oriented interpreted language which is
small and easy to learn. It is very easy to extend Python with
your own compiled code or to embed Python into your own
application. Python is very portable, available at no cost,
has a large library of user-contributed modules, and an active
international user community. Python is particularly useful
for Web applications and there are extensive library
components in this area. This tutorial will include an
introduction to the new array extension which permits near-
compiled-speed numerical computations, and basic pointers on
how to get started if you want to combine Python with your
own C, C++, Fortran, or Eiffel.
</P>
<P>
PAUL DUBOIS is a mathematician at Lawrence Livermore National
Laboratory. He is responsible for large projects in Fortran
and C++ for the Inertial Confinement Fusion Program. He is
author of the EiffelMath Library, and editor of the Scientific
Programming Department of Computers in Physics.
</P>
<HR>
<H3 ALIGN="CENTER"><A NAME="internet">Syllabus for the tutorial
on</A><BR>
<EM>Python and Internet Programming</EM></H3>
<P>
<OL>
<LI>Python Scripting for Internet Servers
<BR><EM>Approx. 25 minutes</EM>
<UL>
<LI>Survey current CGI/API architectures</LI>
<LI>Intro to ILU Requester and API Scripting</LI>
<LI>Analysis and Design Choices</LI>
</UL>
</LI>
<!--
Actions:
a. Go through presentation
b. Pass out the W3C paper
-->
<LI>Using Python for CGI programming
<BR><EM>Approx. 1 hour</EM>
<UL>
<LI>Simple introduction to Python for CGI</LI>
<LI>Gradual complexity</LI>
<LI>Troubleshooting and design issues</LI>
</UL>
</LI>
<!--
Actions:
a. Review presentation section on CGI and Python
b. Go through first series of simple applications
c. Review the Locator design
-->
<LI>Programmer's introduction to the ILU Requester and API Scripting
<BR><EM>Approximately 30 minutes</EM>
<UL>
<LI>In-depth explanation of HTTP interface, API mapping, etc.</LI>
<LI>How does wwworb work</LI>
<LI>When to write interfaces for distributed services</LI>
</UL>
</LI>
<!--
Actions:
a. Review presentation section on ILU Requester
and API Scripting
b. Review W3C paper
c. Free-form discussion at board
-->
<LI>Using the ILU Requester and API Scripting for dynamic Web services
<BR><EM>Approx. 45 minutes</EM>
<UL>
<LI>Using wwworb as a framework for Web objects</LI>
<LI>PYHTML as an external representation</LI>
<LI>Exception handling</LI>
<LI>Routing methods and parameters to objects via URLs</LI>
<LI>Persistent data</LI>
<LI>Network service</LI>
</UL>
</LI>
<!--
Actions:
a. Explain the server setup
b. Go over the API Scripting example programs
c. Show their use online
d. Discuss all the code decisions
-->
<LI>Overview ILU interfaces for distributed services
<BR><EM>10 to 15 minutes</EM>
<UL>
<LI>Difference wrt API Scripting</LI>
<LI>When to write interfaces</LI>
<LI>How to write interfaces and implement them</LI>
</UL>
</LI>
<!--
Actions:
a. Review last demo program
-->
</OL>
<HR>
<H3 ALIGN="CENTER"><A NAME="eande">Extending and Embedding
Python</A><BR>
<EM>Aaron Watters, AT&T, USA</EM></H3>
<dl>
<dt>Extended Example of Extending Python
<dd>This section develops a module that adds new built in functions and
types to Python.
The discussion explains various ways to build and configure
the built in portion of the Python interpreter along with general
guidelines for writing extension modules.
<dt>Embedding Python under Netscape Servers
<dd>This section describes an example embedding of Python under Netscape HTTP
servers that support the NSAPI module protocol. This embedding provides general
scripting capabilities for all aspects of the Server configuration and
operations.
</dl>
<p>
Aaron Watters is a Member of Technical Staff at AT&T Labs in Holmdel
New Jersey, involved in AT&T Internet offerings such as the 800
<a href="http://www.tollfree.att.net">toll free directory </a> and
WorldNet, as well as research into experimental Internet Services.
</p>
<!--User part of page ends here-->
</TD>
</TR>
</TABLE>
</BODY>
</HTML>