First add the # -*- coding: utf-8 -*- line to the beginning of the file and then use u' foo' for all your non-ASCII ...
stackoverflow.com