My notes are organized by tags.
I decided on a two level tag system. Hope the following list is self explanatory.
import json
from pprint import pprint
with open('tags.json') as tags_jsonfile:
tags_data=json.load(tags_jsonfile)
#pprint(tags_data)
from IPython.core.display import HTML,display
HTML_string=""
HTML_string+="<ol>"
for subject in tags_data[u'subjects']:
HTML_string+="<li>"+subject["id"]+"</li>"
HTML_string+="<ol>"
for topic in subject["topics"]:
HTML_string+="<li>"+topic["id"]+"</li>"
HTML_string+="<ol>"
for subtopic in topic["subtopics"]:
HTML_string+="<li>"+subtopic["id"]+"</li>"
if HTML_string[-4:]=="<ol>":
HTML_string=HTML_string[:-4]
else:
HTML_string+="</ol>"
if HTML_string[-4:]=="<ol>":
HTML_string=HTML_string[:-4]
else:
HTML_string+="</ol>"
if HTML_string[-4:]=="<ol>":
HTML_string=HTML_string[:-4]
else:
HTML_string+="</ol>"
HTML(HTML_string)
- Physics
- Classical Mechanics
- Electromagnetism
- Quantum Mechanics
- Condensed Matter Physics
- Density Functional Theory
- Mathematics
- Groups
- Linear Algebra
- Programming
- Bash
- Fortran
- Gnuplot
- Python
- Vanilla Python
- Matplotlib
- Mayavi