Adding software engineering example files and notebook to the repository.
[swc-testing-nose.git] / 4-SoftwareEngineering / animal_count.py
1 #!/usr/bin/python
2
3 import animals
4
5 import sys
6
7 filename = sys.argv[1]
8 animal = sys.argv[2]
9
10 try:
11   mean_count = animals.main(filename, animal)
12 except:
13   print "There were no", animal
14
15 print "The mean count of", animal, "is", mean_count