Skip to content

Instantly share code, notes, and snippets.

@StanAngeloff
Created November 14, 2010 13:31
Show Gist options
  • Select an option

  • Save StanAngeloff/676155 to your computer and use it in GitHub Desktop.

Select an option

Save StanAngeloff/676155 to your computer and use it in GitHub Desktop.
% coffee test.py
Hello
%
% python test.py
%
#!/usr/bin/env python
code = """
console.log 'Hello'
"""
try:
require('./lib/coffee-script').eval(code, { fileName: '__stdin' })
except:
'pass'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment