[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Onionoo docs JSON parser?



grarpamp <grarpamp@xxxxxxxxx> writes:

> For now I 'm probably looking for something in python or perl
> for use against generic json format files on disk, it comes
> up often. I should search github more.

Are you looking for somethin beyond this:

   import json
   print json.load(open('file.json', 'r'))

The "json" module is built-in for python2.7 and python3

-- 
meejah

-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk