Anonymous user
Boston Python Workshop 8/Friday: Difference between revisions
→Goal #8: practice Python using Codecademy
imported>Jesstess (Created page with "Welcome to the Friday evening section of the Boston Python Workshop! When you get to MIT, please start your laptop and get on the wireless network. Join the network called "M...") |
imported>Jesstess |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1:
Welcome to the Friday evening section of the Boston Python Workshop!
When you get to MIT, please do the following things:
When you get to MIT, please start your laptop and get on the wireless network. Join the network called "MIT", not "MIT GUEST". Then work through the goals on this page in order; they should take between 2 and 3 hours. Lots of staff will be around to help troubleshoot and to answer questions -- don't hesitate to ask!▼
<ol>
At the end, a staff member will go through a checklist with you to make sure you're all set for tomorrow. Please be sure to do this checkoff before you leave -- it'll make sure that you are in good shape for tomorrow.▼
<li>Start your laptop and get on the wireless network. Join the network called "MIT", not "MIT GUEST".</li>
▲
<li>When you've finished all of the goal, raise your hand and a helper will come over and go through a checklist with you to make sure you're all set for tomorrow.</li>
▲
== Goal #1: set up Python ==
(Estimated time: 5 minutes)
First things first: we need to install Python! Please complete the instructions below for your operating system.
* [[Boston Python Workshop 7/Friday/Windows set up Python|Windows]]▼
* [[Boston Python Workshop 7/Friday/OSX set up Python|OS X]]▼
* [[Boston Python Workshop
== Goal #2: prepare a text editor ==
(Estimated time: 5 minutes)
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 ⟶ 29:
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 Workshop
* [[Boston Python Workshop
* [[Boston Python Workshop
== Goal #3: practice starting and exiting Python ==
(Estimated time: 5 minutes)
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 Workshop
* [[Boston Python Workshop
* [[Boston Python Workshop
(Estimated time: 10 - 15 minutes)
▲== Goal #4: practice navigating the computer from a command prompt ==
* [[Boston Python Workshop
* [[Boston Python Workshop
* [[Boston Python Workshop
== Goal #5: practice running Python code from a file ==
(Estimated time: 5 minutes)
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 Workshop
* [[Boston Python Workshop
* [[Boston Python Workshop
== Goal #6:
(Estimated time: 10 minutes)
* [[Boston Python Workshop 7/Friday/Windows project dependencies|Windows]]▼
* [[Boston Python Workshop 7/Friday/OSX project dependencies|OS X]]▼
* [[Boston Python Workshop
== Goal #7: start learning Python! ==
(Estimated time: 60 - 90 minutes)
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.
<div style="font-size:125%">[[Boston Python Workshop
<br />
== Goal #8: practice Python using
(Estimated time: 30 - 60 minutes)
It's time to use what we've learned in the tutorial and get some practice thinking about and solving problems in Python.
To give you this practice, we've created custom online practice problems just for this class, using a site called Codecademy!
Tonight, please visit the link below and complete the <b>8 practice problems in the "Strings and choices" section</b>.
<br />
<div style="font-size:125%">[
You don't have to create a
== Goal #9: Checkoff ==
Line 77 ⟶ 103:
<ol>
<li>
Start a
</li>
<li>
Line 83 ⟶ 109:
<pre>
print
</pre>
and save the file. From a
</li>
<li>
Line 105 ⟶ 131:
</pre>
</li>
▲</li>
<li>
Walk through the Tutorial concept that was most confusing for you. The Tutorial is [[
</li>
<li>
Walk through the
</li>
</ol>
If you have any other questions about the tutorial, project setup, or
==Congratulations!==
You are done with the Friday portion of this Workshop. We'll see you at <b>9:45am</b> tomorrow back here in the basement of the Stata Center! Please bring the laptop you used tonight.
We'll have coffee and snacks tomorrow morning. <b>DO NOT BE LATE</b>: you don't want to miss the beginning of the interactive lecture!
If you have any questions, comments, or feedback on tonight's material, don't hesitate to let a staff member know.
[[File:Champagne.png|100px]][[File:Party.png|125px]]
[[Boston Python Workshop 8|« Back to the Workshop home page]]
|