Skip to content

Instantly share code, notes, and snippets.

🌞 Morning 9 commits ▋░░░░░░░░░░░░░░░░░░░░ 3.3%
🌆 Daytime 32 commits ██▍░░░░░░░░░░░░░░░░░░ 11.6%
🌃 Evening 198 commits ███████████████░░░░░░ 71.7%
🌙 Night 37 commits ██▊░░░░░░░░░░░░░░░░░░ 13.4%
@murphybread
murphybread / automation.py
Last active March 31, 2024 09:16
python files for manage Library(my own web platform)
import os
import json
import shutil
import re
import convert_md_to_json
# Load the JSON file containing the directory structure
def load_json_structure(file_path):
import re
import json
import shutil
import os
def md_to_json(md_file, json_file):
with open(md_file, "r") as file:
lines = file.readlines()