Download presentation
Presentation is loading. Please wait.
1
Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center 13-Mar-2007 A Python Tutorial Part 2 Kurt Schwehr 13 Mar 2007
2
Remember ipython? Then start it up!
3
Exploring functions
9
five
10
Return values
11
Documentation can help prevent tangles
26
Command line args Tell ‘em what to do!
27
Simplest command line parser does nothing
32
Testing
33
doctests
37
Not everything is testable with doctest
38
First we need to introduce classes
43
Now we are ready for unit testing
46
Two example data loggers http://vislab-ccom.unh.edu/~schwehr/ais/waterlevel/downloads
49
That’s it for now
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.