import os import posixpath import re import sys TAG = re.compile(r"<(script|style)\b[^>]*>.*?\1>|<[^>]+>", re.S | re.I) SHEET = re.compile(r"]*>", re.I) MODULE = re.compile(r'