#!/usr/bin/python ## script to add css to RHL HTML pages ## Copyright (C) 2002 Red Hat, Inc. ## Copyright (C) 2002 Tammy Fox ## Author: Tammy Fox import sys import string import os import re import tempfile #grab files specified on command line html_files = sys.argv[1:] for file in html_files: ## add header #open file f = open(file, "rw") #read in contents of file content = f.read() #reg expression to find BODY tag replace_this = re.search('