import sys, re try: with open('templates/dashboard.html', 'r', encoding='utf-8') as f: content = f.read() old_html = '