Created
March 5, 2013 20:16
-
-
Save ksheedlo/5093879 to your computer and use it in GitHub Desktop.
Reasons to switch to Python 3
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
#!/usr/bin/env python3.3 | |
# -*- coding: utf-8 -*- | |
ಠ_ಠ = 42 | |
print(ಠ_ಠ) |
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
$ python look.py | |
File "look.py", line 3 | |
ಠ_ಠ = 42 | |
^ | |
SyntaxError: invalid syntax | |
$ ./look.py | |
42 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment