Day 2 / Morning

Scripting with Python, and running scripts at command line

(Rich Enbody)

The final script from this section is available as:

or as ‘scripts/birds.py’. Note that the data is in ‘data/birds.csv’.

How computers work; online editing at github

(Titus Brown)

_images/swc-computer-diagram.png

Github

Please sign up for an account at http://github.com/, and then log in.

We will:

  1. Go to https://github.com/swcarpentry/2013-04-az
  2. Click on the “Fork” button to make a local copy into YOUR account.
  3. Go into the ‘example’ directory in your own account, which should be https://github.com/(ACCOUNT)/2013-04-az/tree/master/example
  4. Click on either CHANGEME.txt or CHANGEME-2.txt
  5. Click on Edit.
  6. Make some changes.
  7. Save and provide a commit message.
comments powered by Disqus



Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to Day 2 / Morning on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.