Haiti Python Workshop/Friday: Difference between revisions

imported>Jesstess
(Created page with "Welcome to the Friday section of the Haiti Python Workshop! Please work through the goals on this page in order; they should take between 2 and 3 hours. At the end, please g...")
 
 
(9 intermediate revisions by one other user not shown)
Line 9:
This section has instructions for installing Python and running Python from a command prompt.
 
* [[BostonHaiti Python Workshop 6/Friday/Windows set up Python|Windows]]
 
== Goal #2: prepare a text editor ==
Line 17:
If you would like to use a different text editor from the recommendation for your operating system, please let a staff member know.
 
* [[BostonHaiti Python Workshop 6/Friday/Windows text editor|Windows]]
 
 
== Goal #3: practice starting and exiting Python ==
Line 23 ⟶ 24:
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:
 
* [[BostonHaiti Python Workshop 6/Friday/Windows interactive Python|Windows]]
 
 
== Goal #4: practice navigating the computer from a command prompt ==
Line 29 ⟶ 31:
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.
 
* [[BostonHaiti Python Workshop 6/Friday/Windows terminal navigation|Windows]]
 
 
== Goal #5: practice running Python code from a file ==
Line 35 ⟶ 38:
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.
 
* [[BostonHaiti Python Workshop 6/Friday/Windows Python scripts|Windows]]
 
 
== Goal #6: start learning Python! ==
Line 41 ⟶ 45:
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.
 
<br />
<div style="font-size:125%">[[BostonHaiti Python Workshop 6/Friday/Tutorial| &raquo;Click here to work through tonight's tutorial&laquo;]]</div>
 
<div style="font-size:125%">[[Boston Python Workshop 6/Friday/Tutorial| &raquo;Click here to work through tonight's tutorial&laquo;]]</div>
<br />
 
== Goal #7: practice Python using CodingBat ==
Line 49 ⟶ 53:
Learning about functions opened up a whole new way for us to practice, using the programming site codingbat.com. The big goal of this practice section is to get you thinking about how to solve problems in Python.
 
<br />
<div style="font-size:125%">[[BostonHaiti Python Workshop 6/Friday/CodingBat Using Codingbat|&raquo; Click here to work through tonight's CodingBat questions &laquo;]]</div>
<br/>
You don't have to create a CodingBat account to do the exercises, but if you do create an account it'll keep track of which problems you've completed and other statistics.
 
 
You don't have to create a CodingBat account to do the exercises, but if you do create an account it'll keep track of which problems you've completed and other statistics.
 
== Goal #8: Checkoff ==
 
TellTo amake staff membersure that you are readyset toup befor checked off. Together youtomorrow, willplease go through the following check-off steps:
 
<ol>
Line 73 ⟶ 77:
</li>
<li>
Open your text editor, and press "Tab". UseThen press the left arrow key. toIt showshould only move the instructorcursor to the left one space. This shows that you are using spaces to indent, and not tabs.
</li>
 
Anonymous user