Commit Graph

160 Commits

Author SHA1 Message Date
Donne Martin
4c94ff5948 Added snippet to convert an object to a list. Useful when writing functions that can accept multiple types of
input (list, tuple, ndarray, iterator).
2015-01-23 16:58:34 -05:00
Donne Martin
52552208c1 Added snippet to test if an object is iterable. 2015-01-23 16:47:51 -05:00
Donne Martin
a7262a50a2 Added snippet for using getattr. getattr, hasattr, and setattr can be used to write generic, reusable code. 2015-01-23 16:29:19 -05:00
Donne Martin
cfa84449b9 Removed unnecessary call to main from nose test. 2015-01-23 16:22:21 -05:00
Donne Martin
67b939f1bc Added snippet that tests for whether an object is of a particular instance 2015-01-23 16:09:17 -05:00
Donne Martin
3c272027e1 Added __init__.py files 2015-01-23 16:08:32 -05:00
Donne Martin
343670807a Added LICENSE 2015-01-23 16:07:56 -05:00
Donne Martin
030fc9bca4 Updated README with repo name and description 2015-01-23 16:06:28 -05:00
Donne Martin
746c8df6a6 Added .gitignore 2015-01-23 16:05:47 -05:00
Donne Martin
62c3058353 first commit 2015-01-23 14:38:58 -05:00