import argparse
import json

parser = argparse.ArgumentParser()
parser.add_argument('json_file')
args = parser.parse_args()

if __name__ == '__main__':
    with open(args.json_file) as f:
        data = json.load(f)
        print '\n###'
        print 'Loaded JSON in variable `data`.'
        print '###'

@@ -20,16 +20,31 @@
 ort json
+%0Aimport inspect
 %0A%0Aparser
@@ -133,16 +133,102 @@
 args()%0A%0A
+def load_json(json_file):%0A    with open(json_file) as f:%0A        return json.load(f)%0A%0A
 if __nam
@@ -250,24 +250,31 @@
 _':%0A    
-with ope
+data = load_jso
 n(args.j
@@ -286,47 +286,63 @@
 ile)
- as f:%0A        data = json.load(f)%0A    
+%0A    print '%5Cn'%0A    print inspect.getsource(load_json)%0A
     
@@ -355,20 +355,16 @@
 '%5Cn###'%0A
-    
     prin
@@ -399,20 +399,16 @@
 data%60.'%0A
-    
     prin

Print code used to load json in python helper