Skip to content

Instantly share code, notes, and snippets.

View Jwely's full-sized avatar
🏠
Working from home

Jeff Ely Jwely

🏠
Working from home
  • Amazon
  • DC Metro
View GitHub Profile
# quick overview of function definitions and function calls.
import some_module
# this below is a function definition, use it to generalize code to repeatedly do something.
# dnppy is full of function definitions
def my_function(argument1, argument2, default_argument3="some_default_string")
"""
this is a function DEFINITION , and this docstring should tell you
something about how it works. This docstring will be displayed if someone
import ogr
__author__ = 'Jwely'
class Shape:
"""
Helps read data from shapefiles with ogr
"""