[Python-checkins] python/dist/src/Mac/OSXResources/app/Resources/English.lproj/Documentation/macpython_ide_tutorial index.html,1.2,1.3
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Wed, 18 Jun 2003 15:10:29 -0700
- Previous message: [Python-checkins] python/dist/src/Mac/OSXResources/app/Resources/English.lproj/Documentation community.html,NONE,1.1 finder.html,1.1,1.2 gui.html,1.1,1.2 index.html,1.3,1.4 intro.html,1.1,1.2 packman.html,1.2,1.3 scripting.html,1.3,1.4 shell.html,1.1,1.2
- Next message: [Python-checkins] python/dist/src/Lib random.py,1.48,1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Mac/OSXResources/app/Resources/English.lproj/Documentation/macpython_ide_tutorial
In directory sc8-pr-cvs1:/tmp/cvs-serv11756/macpython_ide_tutorial
Modified Files:
index.html
Log Message:
- Added a "community" section.
- Cleaned up the HTML.
Index: index.html
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSXResources/app/Resources/English.lproj/Documentation/macpython_ide_tutorial/index.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** index.html 16 Mar 2003 20:41:58 -0000 1.2
--- index.html 18 Jun 2003 22:10:27 -0000 1.3
***************
*** 1,3 ****
! <html>
<head>
<title>One Day of MacPython IDE Toying</title>
--- 1,5 ----
! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
! "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
! <html lang="en">
<head>
<title>One Day of MacPython IDE Toying</title>
***************
*** 10,14 ****
<tr>
<td>
! <img src="IDE.gif">
</td>
<td>
--- 12,16 ----
<tr>
<td>
! <img src="IDE.gif" alt="">
</td>
<td>
***************
*** 35,48 ****
We can do this by opening up the IDE, which should be in Applications
under the newly-created MacPython program folder: </p><p><img
! src="loading_ide.gif" border=1></p>
<hr><br style="page-break-after: always">
<p>The IDE starts up and shows an interactive window: </p>
! <p><img src="new_ide_window.gif"></p>
<p>If the window does not show up (because you have run the IDE before
! and closed it: it remembers that between runs) open it with the <tt>Windows->Python Interactive</tt>
! menu entry. <p>
<p>This is the interactive window to the IDE, it allows us to enter
--- 37,50 ----
We can do this by opening up the IDE, which should be in Applications
under the newly-created MacPython program folder: </p><p><img
! src="loading_ide.gif" border=1 alt="image of IDE icon"></p>
<hr><br style="page-break-after: always">
<p>The IDE starts up and shows an interactive window: </p>
! <p><img src="new_ide_window.gif" alt="image of new window"></p>
<p>If the window does not show up (because you have run the IDE before
! and closed it: it remembers that between runs) open it with the <tt>Windows->Python Interactive</tt>
! menu entry. </p>
<p>This is the interactive window to the IDE, it allows us to enter
***************
*** 57,61 ****
<p>Let's try something now! As per tradition, let's get Python to say
the immortal words, "Hello World". <img src="hello_world.gif"
! border=1></p> <p>Those '<tt>>>></tt>' signs act as a prompt
for us: Python is ready to read in a new command by giving us that
visual cue. Also, we notice that as we enter commands, Python will
--- 59,63 ----
<p>Let's try something now! As per tradition, let's get Python to say
the immortal words, "Hello World". <img src="hello_world.gif"
! border=1 alt="image of hello world program"></p> <p>Those '<tt>>>></tt>' signs act as a prompt
for us: Python is ready to read in a new command by giving us that
visual cue. Also, we notice that as we enter commands, Python will
***************
*** 68,72 ****
commands. If we look below:</p>
! <p><img src="simple_commands.gif" border=1></p>
<p>we'll see the result of running a few more commands. Don't worry
--- 70,74 ----
commands. If we look below:</p>
! <p><img src="simple_commands.gif" border=1 alt="image of command window"></p>
<p>we'll see the result of running a few more commands. Don't worry
***************
*** 98,106 ****
up a new window.</p>
! <p><img src="making_new_window.gif" border=1></p>
<p>Here's the result of that menu command:</p>
! <p><img src="new_window_made.gif" border=1></p>
<p>We notice that there's nothing in this new window. What this means
--- 100,108 ----
up a new window.</p>
! <p><img src="making_new_window.gif" border=1 alt="image of making new window"></p>
<p>Here's the result of that menu command:</p>
! <p><img src="new_window_made.gif" border=1 alt="image of new window"></p>
<p>We notice that there's nothing in this new window. What this means
***************
*** 115,119 ****
tried out on the interpreter window. Let's do that by typing (or
copy/pasting) those commands into our edit window.</p>
! <p><img src="entering_in_new_window.gif" border=1></p>
<p>Ok, we're done with copying and pasting.
--- 117,121 ----
tried out on the interpreter window. Let's do that by typing (or
copy/pasting) those commands into our edit window.</p>
! <p><img src="entering_in_new_window.gif" border=1 alt="image of entering commands"></p>
<p>Ok, we're done with copying and pasting.
***************
*** 130,135 ****
<hr><br style="page-break-after: always">
! <p>Let's save the file now. The Save command is located under the <tt>File</tt> menu:
! <p><img src="saving_edited_file.gif" border=1></p>
--- 132,137 ----
<hr><br style="page-break-after: always">
! <p>Let's save the file now. The Save command is located under the <tt>File</tt> menu:</p>
! <p><img src="saving_edited_file.gif" border=1 alt="image of saving file"></p>
***************
*** 138,142 ****
<p>Now that we've saved the program, how do we run the program? Use the
Run All button at the top of the editing window, or the equivalent
! menu command <tt>Python->Run Window</tt>. The output will appear in a new
window called Output Window. </p>
--- 140,144 ----
<p>Now that we've saved the program, how do we run the program? Use the
Run All button at the top of the editing window, or the equivalent
! menu command <tt>Python->Run Window</tt>. The output will appear in a new
window called Output Window. </p>
***************
*** 145,149 ****
before. Does this affect things?</p>
! <p><img src="syntax_error.gif" border=1></p>
<p>Ooops. Here is an example of what Python calls a "syntax error".
--- 147,151 ----
before. Does this affect things?</p>
! <p><img src="syntax_error.gif" border=1 alt="image of syntax error"></p>
<p>Ooops. Here is an example of what Python calls a "syntax error".
***************
*** 169,173 ****
program again. This gives us a new window, the Output window, showing
the output of our program:</p>
! <p><img src="output_window.gif" border=1></p>
<hr><br style="page-break-after: always">
--- 171,175 ----
program again. This gives us a new window, the Output window, showing
the output of our program:</p>
! <p><img src="output_window.gif" border=1 alt="image of output window"></p>
<hr><br style="page-break-after: always">
***************
*** 199,203 ****
is also nifty: it shows you where your program is spending its time.</li>
! <li>The module browser (<tt>Python->Module Browser</tt>) shows you all Python
modules currently loaded. You can look at the contents of the module with
Browse... and (for modules written in Python) at the source with Source...</li>
--- 201,205 ----
is also nifty: it shows you where your program is spending its time.</li>
! <li>The module browser (<tt>Python->Module Browser</tt>) shows you all Python
modules currently loaded. You can look at the contents of the module with
Browse... and (for modules written in Python) at the source with Source...</li>
***************
*** 212,216 ****
documentation. </li>
! <li>The <tt>File->Save as Applet</tt> menu command saves your script as a MacOSX
application. This allows you to create a script that you can drop files on,
and much more. The IDE itself is such an applet, completely written in Python. </li>
--- 214,218 ----
documentation. </li>
! <li>The <tt>File->Save as Applet</tt> menu command saves your script as a MacOSX
application. This allows you to create a script that you can drop files on,
and much more. The IDE itself is such an applet, completely written in Python. </li>
- Previous message: [Python-checkins] python/dist/src/Mac/OSXResources/app/Resources/English.lproj/Documentation community.html,NONE,1.1 finder.html,1.1,1.2 gui.html,1.1,1.2 index.html,1.3,1.4 intro.html,1.1,1.2 packman.html,1.2,1.3 scripting.html,1.3,1.4 shell.html,1.1,1.2
- Next message: [Python-checkins] python/dist/src/Lib random.py,1.48,1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]