Skip to content

Instantly share code, notes, and snippets.

@geoffreygarrett
Created November 19, 2018 11:49
Show Gist options
  • Save geoffreygarrett/f84ef0d7b1ad26fcf141dca10e7e0ec3 to your computer and use it in GitHub Desktop.
Save geoffreygarrett/f84ef0d7b1ad26fcf141dca10e7e0ec3 to your computer and use it in GitHub Desktop.
AE4878_constants_python_import
import json
import os
AE4878_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(AE4878_path,'constants.json')) as handle:
course_constants = json.loads(handle.read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment