Editing Community Data Science Workshops (Fall 2015)/Day 0 setup and tutorial
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Welcome to the first Friday evening setup session for [[ | Welcome to the first Friday evening setup session for [[Community Data Science Workshops]]! | ||
When you get to UW and get setup, please do the following things: | When you get to UW and get setup, please do the following things: | ||
* Start your laptop and get on the wireless network. | * Start your laptop and get on the wireless network. | ||
* Work through the goals on this page in order | * 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! | ||
* When you've finished all of the | * 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. | ||
'''Please be sure to do the checkoff before you leave''' — it'll make sure that you are in good shape for tomorrow. | '''Please be sure to do the checkoff before you leave''' — it'll make sure that you are in good shape for tomorrow. | ||
Line 32: | Line 32: | ||
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 /> | 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 /> | ||
If you would like to use a different text editor from the recommendation for your operating system, please let a | If you would like to use a different text editor from the recommendation for your operating system, please let a staff member know. | ||
* [[Windows text editor|Windows]] | * [[Windows text editor|Windows]] | ||
Line 41: | Line 41: | ||
(Estimated time: 5 minutes) | (Estimated time: 5 minutes) | ||
We'll do a lot of learning and practicing at a Python " | 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: | ||
* [[Windows interactive Python|Windows]] | * [[Windows interactive Python|Windows]] | ||
Line 50: | Line 50: | ||
(Estimated time: 10 - 15 minutes) | (Estimated time: 10 - 15 minutes) | ||
Throughout this workshop, we'll be running Python programs from the terminal, which means we'll want to be comfortable with navigating to those programs from the terminal prompt. In this section, we'll practice using these | Throughout this workshop, we'll be running Python programs from the terminal, which means we'll want to be comfortable with navigating to those programs from the terminal prompt. In this section, we'll practice using these navigation commands. | ||
* [[Windows terminal navigation|Windows]] | * [[Windows terminal navigation|Windows]] | ||
Line 68: | Line 68: | ||
(Estimated time: 10 minutes) | (Estimated time: 10 minutes) | ||
* [[Community Data Science Workshops (Spring 2015)/April 10th Windows projects download|Windows]] | |||
* [[Community Data Science Workshops (Spring 2015)/April 10th OSX projects download|OS X]] | |||
== Goal #7: Start learning Python! == | == Goal #7: Start learning Python! == | ||
Line 78: | Line 77: | ||
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. | 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%">[[Community_Data_Science_Workshops_( | <div style="font-size:125%">[[Community_Data_Science_Workshops_(Spring 2015)/Day_0_tutorial| » Click here and work through tonight's tutorial «]]</div> | ||
<br /> | <br /> | ||
Line 97: | Line 96: | ||
== Goal #9: Checkoff == | == Goal #9: Checkoff == | ||
Tell a staff member that you are ready to be checked off. Together you will go through the following check-off steps: | |||
* Start a terminal prompt, and from that prompt start Python. Then | * Start a terminal prompt, and from that prompt start Python. Then quit Python. | ||
* Create a new Python file (with a .py extension). In that file, type: <code>print("Hello World")</code> and then Enter and save the file. From a terminal prompt, navigate to and execute that Python script. | * Create a new Python file (with a .py extension). In that file, type: <code>print("Hello World")</code> and then Enter and save the file. From a terminal prompt, navigate to and execute that Python script. | ||
* Open your text editor, and press "Tab". Use the left arrow key to show the instructor that you are using spaces to indent, not tabs. | * Open your text editor, and press "Tab". Use the left arrow key to show the instructor that you are using spaces to indent, not tabs. | ||
* To test the baby names project installation: navigate to the babynames directory and run <code>babynames1.py</code>: | * To test the baby names project installation: navigate to the babynames directory and run <code>babynames1.py</code>: | ||
python babynames1.py | python babynames1.py | ||
* Walk through the Codecademy problem that you had the most difficulty with. The Friday Codecademy questions are [http://www.codecademy.com/courses/python-beginner-en-kSQwt here]. | * Walk through the Codecademy problem that you had the most difficulty with. The Friday Codecademy questions are [http://www.codecademy.com/courses/python-beginner-en-kSQwt here]. | ||
Line 122: | Line 119: | ||
[[File:Champagne.png|100px]][[File:Party.png|125px]] | [[File:Champagne.png|100px]][[File:Party.png|125px]] | ||
[[Category: | [[Category:Spring_2015_series]] |