Editing Community Data Science Workshops (Fall 2014)/Day 0 setup and tutorial
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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 13: | Line 13: | ||
If you already have a UW NetID of your own, you should be all set with the network. | If you already have a UW NetID of your own, you should be all set with the network. | ||
If you are not from UW, you will have to use a temporary shared NetID which we have created for the conference. We'll write the username and password up on | If you are not from UW, you will have to use a temporary shared NetID which we have created for the conference. We'll write the username and password up on blackboard in each of the rooms we are using. Alos, make sure you agree with the [http://uw.edu/itconnect/work/appropriate-use/ UW's policy on the ethical use of computers and networks]. | ||
== Goal #1: Set up Python == | == Goal #1: Set up Python == | ||
Line 21: | Line 21: | ||
First things first: We need to install the Python programming language. Please complete the instructions below for your operating system: | First things first: We need to install the Python programming language. Please complete the instructions below for your operating system: | ||
* [[Windows set up Python | * [[Windows set up Python|Windows]] | ||
* [[OSX set up Python | * [[OSX set up Python|OS X]] | ||
* [[Linux set up Python | * [[Linux set up Python|Linux]] | ||
== Goal #2: Prepare a text editor == | == Goal #2: Prepare a text editor == | ||
Line 71: | Line 71: | ||
(Estimated time: 10 minutes) | (Estimated time: 10 minutes) | ||
* [[Community Data Science Workshops | * [[Community Data Science Workshops/April 5th Windows project dependencies|Windows]] | ||
* [[Community Data Science Workshops | * [[Community Data Science Workshops/April 5th OSX project dependencies|OS X]] | ||
* [[Community Data Science Workshops | * [[Community Data Science Workshops/April 5th Linux project dependencies|Linux]] | ||
== Goal #7: Start learning Python! == | == Goal #7: Start learning Python! == | ||
Line 92: | Line 92: | ||
To give you this practice, we've created custom online practice problems just for this class, using a site called Codecademy! | 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 '''8 practice problems in the "Strings and choices" section''' | Tonight, please visit the link below and complete the '''8 practice problems in the "Strings and choices" section'''. | ||
<div style="font-size:125%">[http://www.codecademy.com/courses/python-beginner-en-kSQwt » Click here and complete tonight's Codecademy exercises «]</div> | <div style="font-size:125%">[http://www.codecademy.com/courses/python-beginner-en-kSQwt » Click here and complete tonight's Codecademy exercises «]</div> | ||
Line 105: | Line 105: | ||
* 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 | * To test the ColorWall installation: navigate to the ColorWall directory and run <code>run.py</code>: | ||
python | python run.py -a | ||
* To test the Wordplay installation: navigate to the Wordplay directory and run <code>words1.py</code>: | * To test the Wordplay installation: navigate to the Wordplay directory and run <code>words1.py</code>: | ||
Line 113: | Line 113: | ||
python words1.py | python words1.py | ||
* Walk through the Tutorial concept that was most confusing for you. The Tutorial is [[Community Data Science Workshops/ | * Walk through the Tutorial concept that was most confusing for you. The Tutorial is [[Community Data Science Workshops/Friday April 4th 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]. | * 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 128: | Line 128: | ||
[[File:Champagne.png|100px]][[File:Party.png|125px]] | [[File:Champagne.png|100px]][[File:Party.png|125px]] | ||
[[Community Data Science Workshops|« Back to the Workshop home page]] |