Skip to content

Instantly share code, notes, and snippets.

@pferreir
Created July 4, 2013 08:13
Show Gist options
  • Save pferreir/5925836 to your computer and use it in GitHub Desktop.
Save pferreir/5925836 to your computer and use it in GitHub Desktop.
PySCSS example
import logging
from scss import Scss, config
logging.basicConfig(level=logging.DEBUG)
config.LOAD_PATHS = ['ext_modules/compass/frameworks/compass/stylesheets/']
c = Scss(scss_opts={'compress': False})
with open('test.scss') as f:
print c.compile(f.read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment