Package cssutils :: Package scripts :: Module cssparse |
[hide private]
[frames] | no frames]

# Module cssparse

source code

utility script to parse given filenames or string

Version: $Id: cssparse.py 1227 2008-05-19 19:59:31Z cthedot $

Functions | [hide private]
main(args=None) Parses given filename(s) or string (using optional encoding) and prints the parsed style sheet to stdout. | source code

Imports: cssutils, logging, optparse, sys

Function Details | [hide private]

### main(args=None) | source code
Parses given filename(s) or string (using optional encoding) and prints the parsed style sheet to stdout. Redirect stdout to save CSS. Redirect stderr to save parser log infos.