align / code /notebooks /_m1_show.py
viai957's picture
Add files using upload-large-folder tool
bcc8d35 verified
Raw History Blame Contribute Delete
163 Bytes
import json,sys
nb=json.load(open(sys.argv[1]))
for c in nb['cells']:
for o in c.get('outputs',[]): print(''.join(o.get('text',o.get('traceback',''))),end='')