If you use different characters on your code (comments, strings, etc), such as é, í, ç or, on your case, you sign the code with your name, 名宏贾, you need to add:
# -*- coding: utf-8 -*-
on the beginning of the file.
This is a guess about what is happening with your code.
Pasting the entire traceback here will give us a better clue.
For mor info about this:
Thanks!