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 1327 2008-07-08 21:17:12Z 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.