1 changed files with 11 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||||
|
#!/usr/bin/env python3 |
||||
|
# -*- coding: utf-8 -*- |
||||
|
|
||||
|
import json |
||||
|
|
||||
|
strData = '' |
||||
|
data = json.loads(open('xxrs.json').read()) |
||||
|
for title, content in data.items(): |
||||
|
strData += '%s\n\n' % title |
||||
|
strData += '%s\n\n\n' % '\n\n'.join(content) |
||||
|
print(strData.strip()) |
Loading…
Reference in new issue