Editing Community Data Science Course (Spring 2015)/Day 1 Exercise

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 62: Line 62:
(Estimated time: 60 - 90 minutes)
(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. 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. Saturday morning, we'll have an interactive lecture to cover more Python basics.


<div style="font-size:125%">[[Community Data Science Course (Spring 2015)/Day 1 Tutorial|&raquo; Click here and work through tonight's tutorial &laquo;]]</div>
<div style="font-size:125%">[[Community Data Science Course (Spring 2015)/Day 1 Tutorial|&raquo; Click here and work through tonight's tutorial &laquo;]]</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 of the teaching team that you are ready to be checked off. Together you will go through the following check-off steps:
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 first class in this series!
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]]
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)