Anonymous user
Boston Python Workshop 3/Friday: Difference between revisions
Boston Python Workshop 3/Friday (view source)
Revision as of 12:59, 24 September 2011
, 12 years agoProtected "Boston Python Workshop 3/Friday" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))
imported>Jesstess No edit summary |
imported>Jesstess m (Protected "Boston Python Workshop 3/Friday" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(23 intermediate revisions by 11 users not shown) | |||
Line 1:
Welcome to the Friday evening section of the Boston Python Workshop!
When you get to
At the end, a staff member will go through a checklist with you to make sure you're all set for tomorrow.
Line 9:
This section has instructions for installing Python and running Python from a command prompt.
* [[Boston Python
* [[Boston Python
* [[Boston Python
== Goal #2:
In addition to being able to run Python, we are going to install a good text editor for writing and saving Python code during the workshop.<br />
Line 19:
If you would like to use a different text editor from the recommendation for your operating system, please let a staff member know.
* [[Boston Python
* [[Boston Python
* [[Boston Python
== Goal #3: practice starting and exiting Python ==
Line 27:
We'll do a lot of learning and practicing at a Python prompt (this is "interactive" because you are typing the code and hitting enter to run it yourself, instead of running it from a file). So let's practice starting and exiting Python:
* [[Boston Python
* [[Boston Python
* [[Boston Python
== Goal #4: practice navigating the computer from a command prompt ==
Line 35:
We will be running files containing Python code (Python "scripts") from the command prompt. You'll need to be able to navigate to those scripts using the command prompt so you can run them. In this section, we'll practice using these navigation commands.
* [[Boston Python
* [[Boston Python
* [[Boston Python
== Goal #5: practice running Python code from a file ==
Interactive Python programming at a Python prompt is great for short pieces of code and for testing ideas. For longer code, it can be easier to save the code in a file, and execute the contents of that file (aka a Python script). In this section, we'll practice running Python scripts.
* [[Boston Python
* [[Boston Python
* [[Boston Python
== Goal #6: get dependencies installed for the Saturday projects ==
* [[Boston Python
* [[Boston Python
* [[Boston Python
== Goal #7: start learning Python! ==
Line 57 ⟶ 56:
It's time to start learning, reading, and writing some Python! Tonight, you'll work through a self-directed tutorial. Saturday morning, we'll have an interactive lecture to cover more Python basics.
[[Boston Python
== Goal #8: Checkoff ==
Line 80 ⟶ 79:
<pre>
python run.py -a
</pre>
</li>
<li>
To test the Wordplay installation: navigate to the Wordplay directory and run <code>
<pre>
python
</pre>
</li>
|