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 70: | Line 70: | ||
In advance of tomorrow's lecture and afternoon projects, go ahead and download the necessary files ahead of time. | In advance of tomorrow's lecture and afternoon projects, go ahead and download the necessary files ahead of time. | ||
<font size="+1">[[Community Data Science Workshops (Fall 2015)/Day 1 baby names project download|» Click here and follow the instructions to download the Baby Names project. «]] | <font size="+1">[[Community Data Science Workshops (Fall 2015)/Day 1 baby names project download|» Click here and follow the instructions to download the Baby Names project. «]] | ||
== Goal #7: Start learning Python! == | == Goal #7: Start learning Python! == | ||
Line 97: | Line 97: | ||
== 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]. |