I hereby claim:
- I am ethanwhite on github.
- I am ethanwhite (https://keybase.io/ethanwhite) on keybase.
- I have a public key whose fingerprint is C8A0 514B EB42 6936 FB37 2900 5882 6D7C E10D CD71
To claim this, I am signing this object:
import subprocess | |
process = subprocess.Popen(['git', 'rev-parse', 'HEAD'], shell=False, stdout=subprocess.PIPE) | |
git_head_hash = process.communicate()[0].strip() |
from __future__ import division | |
def add(num1, num2): | |
assert type(num1) == int or type(num1) == float | |
assert type(num2) == int or type(num2) == float | |
return num1 + num2 | |
def divide(numerator, denominator): | |
return numerator / denominator |
import re | |
inputfile = open('wikipedia_rodents.txt', 'r') | |
def get_species(inputstring): | |
species_regexs = "([A-Z][a-z]+ [a-z]+)" | |
species_search = re.search(species_re, inputstring) | |
if species_search: | |
return species_search.group(1) | |
from setuptools import setup | |
setup( | |
name="UltimateAnswer", | |
version="0.1", | |
entry_points = {'console_scripts': ['ult-ans = ultimate_answer:main']}, | |
py_modules = ['ultimate_answer'] | |
) |
from osgeo import gdal | |
gdal.AllRegister() | |
driver = gdal.GetDriverByName("netCDF") | |
gdal.Open("test.nc") |
I hereby claim:
To claim this, I am signing this object:
Install Anaconda (2.7 or 3.5): https://www.continuum.io/downloads
From shell