hello worlding hllo hello procrastination day
parent
274a7bd7ac
commit
a58ba72a75
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"title": "exex",
|
||||||
|
"description": "collaborative writing for branching documentation",
|
||||||
|
"tags": "tool, writing, collaborative",
|
||||||
|
"gradient": "tool practice tool practice tool tool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "pair documenting",
|
||||||
|
"description": "like pair programming, but for documentation",
|
||||||
|
"tags": "practice, writing, collaborative",
|
||||||
|
"gradient": "practice practice practice"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "1dl",
|
||||||
|
"description": "1dimension ~ flat markup language ",
|
||||||
|
"tags": "tool, markup, writing",
|
||||||
|
"gradient": "tool practice tool tool practice"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "textoscope",
|
||||||
|
"description": "adjust text intensity",
|
||||||
|
"tags": "tool, reading, writing",
|
||||||
|
"gradient": "tool tool platform practice practice"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
import json
|
||||||
|
|
||||||
|
title = input('Title: ')
|
||||||
|
description = input('Description: ')
|
||||||
|
tags = input('Tags: ')
|
||||||
|
gradient = input('Gradient: ')
|
||||||
|
|
||||||
|
with open('entries.json', 'r') as f:
|
||||||
|
data = json.load(f)
|
||||||
|
|
||||||
|
data["entries"].append({
|
||||||
|
"title": title,
|
||||||
|
"description": description,
|
||||||
|
"tags": tags,
|
||||||
|
"gradient": gradient
|
||||||
|
})
|
||||||
|
|
||||||
|
with open('entries.json', 'w') as f:
|
||||||
|
json.dump(data, f, ensure_ascii=False, indent=4)
|
Loading…
Reference in New Issue