utf-8 in python source

related: python , unicode , utf8

python3.2 allows utf-8 characters in symbol names.  To use them, you must specify the coding of the source file:

1
2
3
4
5
6
7
#!/usr/bin/env python3.2
# coding=utf-8

def ಠ_ಠ(err):
    raise Exception(err)

ಠ_ಠ(“herp derp”)