Editing Community Data Science Course (Spring 2015)/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 65: | Line 65: | ||
<div style="font-size:125%">[[Community Data Science Course (Spring 2015)/Day 1 Tutorial|» Click here and work through tonight's tutorial «]]</div> | <div style="font-size:125%">[[Community Data Science Course (Spring 2015)/Day 1 Tutorial|» Click here and work through tonight's tutorial «]]</div> | ||
<br /> | |||
== Goal #8: Practice Python using Codecademy == | == Goal #8: Practice Python using Codecademy == | ||
Line 82: | Line 83: | ||
== Goal #9: Checkoff == | == Goal #9: Checkoff == | ||
Tell a member | 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 quit Python. | * 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>: | |||
python babynames1.py | |||
* To test the Wordplay installation: navigate to the Wordplay directory and run <code>words1.py</code>: | |||
python words1.py | |||
* 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 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]. | * 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 94: | Line 104: | ||
==Congratulations!== | ==Congratulations!== | ||
You are done with the | You are done with the Friday portion of this Workshop. We'll see you at '''9:45am''' tomorrow back here. | ||
'''DO NOT BE LATE''': 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]] | [[File:Champagne.png|100px]][[File:Party.png|125px]] |