@@ -13,7 +13,7 @@ <h1>One Day of MacPython IDE Toying</h1>
1313 </ td >
1414 < td >
1515 < p > This document gives a very basic introduction to the
16- MacPython Integrated Development Environment on Mac OS. It was
16+ MacPython < b > I </ b > ntegrated < b > D </ b > evelopment < b > E </ b > nvironment (IDE) on Mac OS. It was
1717 written specifically for MacPython 2.3 on Mac OS X, but most of
1818 it is applicable to MacPython-OS9 too. It is based on
1919 < a href ="http://www-hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/ "> "One
@@ -47,7 +47,7 @@ <h1>One Day of MacPython IDE Toying</h1>
4747
4848< p > This is the interactive window to the IDE, it allows us to enter
4949commands directly into Python, and as soon as we enter a command,
50- Python will execute it and spit out its result back to us. We'll be
50+ Python will execute it and spit its result back to us. We'll be
5151using this interactive window a lot when we're exploring Python: it's
5252very nice because we get back our results immediately. If it helps,
5353we can think of it as a very powerful calculator.</ p >
@@ -86,7 +86,7 @@ <h1>One Day of MacPython IDE Toying</h1>
8686neat, but if we close down Python and start it up again, how do we get
8787the computer to remember what we typed?</ p >
8888
89- < p > The solution is a little subtle: we can't directly save what's on
89+ < p > The solution is a little subtle: we can't directly save what's in
9090the interpreter window, because it will include both our commands and
9191the system's responses. What we'd like is to make a prepared file,
9292with just our own commands, and to be able to save that file as a
@@ -113,13 +113,13 @@ <h1>One Day of MacPython IDE Toying</h1>
113113
114114< p > What we wanted to do before was save some of the stuff we had
115115tried out on the interpreter window. Let's do that by typing (or
116- copy/pasting) those commands into our Program window.</ p >
116+ copy/pasting) those commands into our edit window.</ p >
117117< p > < img src ="entering_in_new_window.gif " border =1 > </ p >
118118
119119< p > Ok, we're done with copying and pasting.
120120One big thing to notice
121121is that we're careful to get rid of the "< tt > >>></ tt > "
122- prompts because there's not really part of our program. The
122+ prompts because they're not really part of our program. The
123123interpreter uses them just to tell us that we're in the interpreter,
124124but now that we're editing in a separate file, we can remove the
125125artifacts that the interpreter introduces.
@@ -129,7 +129,7 @@ <h1>One Day of MacPython IDE Toying</h1>
129129
130130< hr > < br style ="page-break-after: always ">
131131
132- < p > Let's save the file now. The Save command is located under the File menu:
132+ < p > Let's save the file now. The Save command is located under the < tt > File</ tt > menu:
133133< p > < img src ="saving_edited_file.gif " border =1 > </ p >
134134
135135
@@ -155,12 +155,12 @@ <h1>One Day of MacPython IDE Toying</h1>
155155
156156< p > Python is often perceptive enough to direct us toward the problem,
157157and in this case, it's telling us that we forgot to put something at
158- the end of this line. In this case, we need to add an additional
159- quotation mark. Let's add that in now.</ p >
158+ the end of this line. In this case, we need to add a
159+ quotation mark at the end . Let's add that in now.</ p >
160160
161161< p > Other errors, which usually occur later, when your program has
162162already done something, result in a different dialog that allows you
163- to look at variables and such in addition to only showing you where
163+ to look at variables and such in addition to showing you where
164164the error occurred. </ p >
165165
166166< hr > < br style ="page-break-after: always ">
@@ -173,9 +173,9 @@ <h1>One Day of MacPython IDE Toying</h1>
173173< hr > < br style ="page-break-after: always ">
174174
175175< p > As we play with Python, we'll find ourselves "switching modes"
176- between the Interpreter window and the Program window. However,
176+ between the Interpreter window and the edit window. However,
177177if we try anything more complicated than two or three lines it
178- is often a good idea to work in an edit window, and align
178+ is often a good idea to work in an edit window. Align
179179your edit and output window such that you can see them at the same time.</ p >
180180
181181< p > This is pretty much all we need to know about the MacPython IDE to actually do
@@ -184,10 +184,10 @@ <h1>One Day of MacPython IDE Toying</h1>
184184
185185< ul >
186186 < li > All sorts of edit commands such as find and replace can be
187- used in the editor windows. See the edit menu.</ li >
187+ used in the editor windows. See the < tt > Edit </ tt > menu.</ li >
188188
189189 < li > The bottom of the edit window has the scrollbar, but at the
190- left are two navigation devices: a line number box that you can also type
190+ left are two navigation devices: a line number box that you can type
191191 numbers into to quickly go to a specific place, and a popup menu
192192 that lists all classes, functions and methods in your file.</ li >
193193
0 commit comments