Created
June 15, 2020 13:45
-
-
Save gargolito/866536da83f2f0b73c9b9ad07a94e023 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from os import listdir as ls | |
d = dict() | |
d['whois'] = list() | |
for j in ls('.'): | |
with open(j) as f: | |
d['whois'].append(json.loads(f.read())) | |
with open('../whois.json', 'w') as l: | |
json.dump(d,l) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment