Created
December 19, 2012 02:51
-
-
Save paultag/4333969 to your computer and use it in GitHub Desktop.
Python in lisp
This file contains 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
; vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 filetype=lisp | |
; Copyright (c) Paul Tagliamonte, in sofar as any of this is at all | |
; copyrightable. | |
(puts "Hello, World!") | |
; "Hello, World!" | |
(import ["os" | |
"sys"]) | |
(puts (os.path.abspath ".")) | |
; None (but "/home/tag/tmp" is written) | |
(puts sys.argv) | |
; ['/home/tag/.virtualenvs/hy/bin/hython', 'test.hy'] | |
(sys.stdout.write "Fuggn' test\n") | |
; None (but "Fuggn' test" is written) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment