Skip to content

Instantly share code, notes, and snippets.

View johnbachman's full-sized avatar

John A. Bachman johnbachman

View GitHub Profile
@johnbachman
johnbachman / s3cache.py
Last active August 29, 2015 14:27 — forked from dpwrussell/s3cache.py
Extremely rudimentary s3cache code
import boto3
from botocore.exceptions import ClientError
import hashlib
import os
import errno
def mkdir_p(path):
try:
os.makedirs(path)