Editing Community Data Science Workshops (Spring 2015)/April 10th Windows projects download
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 1: | Line 1: | ||
In this section, we'll download everything we need for tomorrow's projects. | In this section, we'll download everything we need for tomorrow's projects. | ||
==Wordplay== | |||
[[File:Crossword.png|200px]] | |||
===Download the Wordplay project=== | |||
We've written some skeleton code for the Wordplay project already. Download this code so you're ready to start working with it tomorrow: | |||
# Right click the following file, click "Save Target as..." or "Save link as...", and save it to your Desktop directory: http://mako.cc/teaching/2015/cdsw-spring/wordplay.zip | |||
# Find Wordplay.zip on your Desktop and double-click on it to "unzip" it. That will create a folder called Wordplay containing several files. | |||
===Test the Wordplay code=== | |||
Start a command prompt and navigate to the Desktop\Wordplay directory where the Wordplay code lives. For example, if the Wordplay project is at <code>C:\Users\[Your User Name]\Desktop\Wordplay</code>, | |||
cd C:\Users\'''[Your User Name]'''\Desktop\Wordplay | |||
will change you into that directory, and | |||
ls | |||
will show you the source code files in that directory. One of the files is "words1.py", which has a ".py" extension indicating that it is a Python script. Type: | |||
python words1.py | |||
at the command prompt to execute the words1.py Python script. You should see a column of English words printed to the screen. If you don't, let a staff member know. | |||
===Success!=== | |||
You've completed setup for the Wordplay project. | |||
==Baby Names== | ==Baby Names== |