From 1ca2f8a73effe9b145cf49994dc1391f95259374 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 17 Jun 2012 00:15:55 -0400 Subject: [PATCH] Added a 4-SoftwareEngineering directory for the Tuesday afternoon material. With initial notes in the README. Need to finish this up tomorrow. W. Trevor King: I reformatted the commit message from the original 237de06 so it fits better into --oneline logs. --- 4-SoftwareEngineering/README.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 4-SoftwareEngineering/README.rst diff --git a/4-SoftwareEngineering/README.rst b/4-SoftwareEngineering/README.rst new file mode 100644 index 0000000..fa04005 --- /dev/null +++ b/4-SoftwareEngineering/README.rst @@ -0,0 +1,24 @@ +Dev Notes +========= + +Things we want to demonstrate: + +- write lots of small tools (functions) +- document your code +- test your code +- debugging + + - build in a crash somewhere and explain tracebacks + - do an import pdb; pdb.set_trace() + +Create a few utilities to work with the `*animal.txt` files from +introductory Python. + +Put all the functionality in one file and make small scripts that import +from that file, parse command line arguments, and do stuff. + +- average number of an animal seen per sighting +- total number of an animal seen over the season +- all the sightings on a given day + +Students may want an IPython notebook open as a scratch pad. -- 2.26.2