Editing DS4UX (Spring 2016)/Day 1 exercise
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 2: | Line 2: | ||
* 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 around 2 hours. William and I will help troubleshoot and to answer questions — don't hesitate to ask! | ||
* When you've finished all of the goals, 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 | '''Please be sure to do the checkoff before you leave''' — it'll make sure that you are in good shape for next week. | ||
== Goal #0: Connect to the UW Wireless == | |||
== Goal 1: Set up Python == | If you already have a UW NetID of your own, you should be all set with the network. | ||
== Goal #1: Set up Python == | |||
(Estimated time: 5 minutes) | (Estimated time: 5 minutes) | ||
Line 16: | Line 20: | ||
* [[OSX set up Python (Anaconda)|OS X]] | * [[OSX set up Python (Anaconda)|OS X]] | ||
== Goal 2: Prepare a text editor == | == Goal #2: Prepare a text editor == | ||
(Estimated time: 5 minutes) | (Estimated time: 5 minutes) | ||
Line 27: | Line 31: | ||
* [[OSX text editor|OS X]] | * [[OSX text editor|OS X]] | ||
== Goal 3: Practice starting and exiting Python == | == Goal #3: Practice starting and exiting Python == | ||
(Estimated time: 5 minutes) | (Estimated time: 5 minutes) | ||
Line 36: | Line 40: | ||
* [[OSX interactive Python|OS X]] | * [[OSX interactive Python|OS X]] | ||
== Goal 4: Practice navigating the computer from a terminal == | == Goal #4: Practice navigating the computer from a terminal == | ||
(Estimated time: 10 - 15 minutes) | (Estimated time: 10 - 15 minutes) | ||
Line 45: | Line 49: | ||
* [[OSX terminal navigation|OS X]] | * [[OSX terminal navigation|OS X]] | ||
== Goal 5: Practice running Python code from a file == | == Goal #5: Practice running Python code from a file == | ||
(Estimated time: 5 minutes) | (Estimated time: 5 minutes) | ||
Line 54: | Line 58: | ||
* [[OSX Python scripts|OS X]] | * [[OSX Python scripts|OS X]] | ||
== Goal | == Goal #7: Start learning Python! == | ||
(Estimated time: 60 - 90 minutes) | (Estimated time: 60 - 90 minutes) | ||
Line 60: | Line 64: | ||
It's time to start learning, reading, and writing some Python! Tonight, you'll work through a self-directed tutorial. Next week, 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. Next week, we'll have an interactive lecture to cover more Python basics. | ||
<div style="font-size:125%">[[ | <div style="font-size:125%">[[Community Data Science Course (Spring 2015)/Day 1 Tutorial|» Click here and work through tonight's tutorial «]]</div> | ||
== Goal | == Goal #8: Practice Python using Codecademy == | ||
(Estimated time: 30 - 60 minutes) | (Estimated time: 30 - 60 minutes) | ||
Line 75: | Line 79: | ||
You don't have to create a Codecademy 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 Codecademy 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 #9: Checkoff == | |||
Tell a member of the teaching team 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 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. | |||
* 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. | |||
* Walk through the Tutorial concept that was most confusing for you. The Tutorial is [[Community Data Science Workshops/Day 0 tutorial|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]. | |||
If you have any other questions about the tutorial, project setup, or Codecademy questions, now is a great time to ask! | |||
==Congratulations!== | ==Congratulations!== | ||
You are done with the first class in this series! | |||
[[File:Champagne.png|100px]][[File:Party.png|125px]] | [[File:Champagne.png|100px]][[File:Party.png|125px]] | ||
[[Category:DS4UX (Spring 2016)]] | [[Category:DS4UX (Spring 2016)]] |