Python is basically encoding in ascii mode, so you should declare your encoding method you want to use in the code.

You can easily set your code to run in UTF-8 mode by adding below code on top of your code:

#-*- encoding: utf-8 -*-