Created
          January 5, 2013 09:58 
        
      - 
      
 - 
        
Save valpackett/4460803 to your computer and use it in GitHub Desktop.  
    ClojureEval
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # TryClojure - Eval from clipboard | |
| import clipboard | |
| import requests | |
| d = {'expr': clipboard.get()} | |
| r = requests.get('http://tryclj.com/eval.json', params=d) | |
| if 'result' in r.json: | |
| print(r.json['result']) | |
| else: | |
| print(r.json['message']) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Also: ClojureRepl