Skip to content

Instantly share code, notes, and snippets.

import xml.etree.ElementTree as ET
from pathlib import Path
from datetime import datetime, timedelta
import json
import subprocess
d = Path("Dynamic_Wallpapers")
for xmlfile in d.glob("*.xml"):