Skip to content

Instantly share code, notes, and snippets.

@ksheedlo
Created March 5, 2013 20:16
Show Gist options
  • Save ksheedlo/5093879 to your computer and use it in GitHub Desktop.
Save ksheedlo/5093879 to your computer and use it in GitHub Desktop.
Reasons to switch to Python 3
#!/usr/bin/env python3.3
# -*- coding: utf-8 -*-
ಠ_ಠ = 42
print(ಠ_ಠ)
$ 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