Philadelphia Python Workshop/Projects: Difference between revisions
Content added Content deleted
imported>Geography76 |
imported>Geography76 No edit summary |
||
Line 9: | Line 9: | ||
[[File:Crossword.png|100px]] |
[[File:Crossword.png|100px]] |
||
===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\jesstess\Desktop\Wordplay</code>, |
|||
<pre> |
|||
cd C:\Users\jesstess\Desktop\Wordplay |
|||
</pre> |
|||
will change you into that directory, and |
|||
<pre> |
|||
dir |
|||
</pre> |
|||
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: |
|||
<pre> |
|||
python words1.py |
|||
</pre> |
|||
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!=== |
|||
The Wordplay project is working. You're ready to move on to the next step. |
|||
===Wordplay goals=== |
===Wordplay goals=== |