SyntaxError: Non-ASCII characterエラーの対処方法

文字コードを指定していないことが原因です。
最初の行に

# -*- coding: utf-8 -*-

をいれてください。

特集記事

Posted by @erestage