为什么直接print u'''......'''报错呢
为什么直接print u'''......'''报错呢
print u'''静夜思
床前明月光,
疑是地上霜。
举头望明月,
低头思故乡。'''
运行失败,输出错误
File "index.py", line 1
SyntaxError: Non-ASCII character '\xe9' in file index.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details