Skip to content

Instantly share code, notes, and snippets.

@dydx
Created January 23, 2015 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dydx/be117282e56ba3f5cabc to your computer and use it in GitHub Desktop.
Save dydx/be117282e56ba3f5cabc to your computer and use it in GitHub Desktop.
#wow so fast
import subprocess
def set(key, val):
f = open(key, 'w')
f.write(val)
f.close()
def get(key):
return subprocess.check_output(["cat", key])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment