title: how to load a json from parent directory
body: <p>I have to load a configuration file from parent directory. Here is the folder structure :</p>
  
  <pre><code>.
  ├── cleanup
  ├── _conf.json
  ├── data
  │   ├── all_combine_200k.csv
  │   ├── cyclegear.csv
  │   ├── make_dataset.py
  │   └── R_Result_Temp.csv
  ├── features
  │   ├── add_template_python.py
  │   ├── build_features.py
  │   ├── create_templates.py
  │   ├── read_template_python.py
  │   └── template_features_req.proto
  ├── __init__.py
  ├── models
  │   ├── hmm
  │   ├── __init__.py
  │   ├── predict_model.py
  │   └── train_model.py
  ├── remotedb
  │   └── cyclegeardb.py
  ├── utils
  │   ├── c_print.py
  │   └── __init__.py
  └── visualization
      ├── __init__.py
      └── visualize.py
  </code></pre>
  
  <p>I am in <code>add_template_python.py</code> and need to load <code>_conf.json</code> from the <code>src</code> directory. </p>
  
  <p>In order to import stuff from other directories I just use <code>sys.path.append('..')</code> but that won't work here. What code can load json file from parent directory?</p>