Community Data Science Workshops (Spring 2014)/Friday April 4th Tutorial: Difference between revisions
Content added Content deleted
imported>Mako (turn bold stuff into wikiformatting) |
imported>Mako m (→Python scripts: fix link) |
||
Line 324: | Line 324: | ||
<ol> |
<ol> |
||
<li>Download the file http://mako.cc/teaching/2014/ |
<li>Download the file http://mako.cc/teaching/2014/cdsw/nobel.py by right-clicking on it and saying to save it as a ".py" file to your Desktop. The ".py" extension hints that this is a Python script.</li> |
||
<li>Open a terminal prompt, and use the navigation commands (<code>dir</code> and <code>cd</code> on Windows, <code>ls</code>, <code>pwd</code>, and <code>cd</code> on OS X and Linux) to navigate to your Desktop directory. See [[Boston Python Workshop 8/Friday#Goal_.234:_practice_navigating_the_computer_from_a_terminal|navigating from a terminal]] for a refresher on those commands.</li> |
<li>Open a terminal prompt, and use the navigation commands (<code>dir</code> and <code>cd</code> on Windows, <code>ls</code>, <code>pwd</code>, and <code>cd</code> on OS X and Linux) to navigate to your Desktop directory. See [[Boston Python Workshop 8/Friday#Goal_.234:_practice_navigating_the_computer_from_a_terminal|navigating from a terminal]] for a refresher on those commands.</li> |
||
<li>Once you are in your Desktop directory, execute the contents of <code>nobel.py</code> by typing |
<li>Once you are in your Desktop directory, execute the contents of <code>nobel.py</code> by typing |