運行有錯???
# -*- coding: utf-8 -*- print u'''床前明月光, 疑是地上霜。 舉頭望明月, 低頭思故鄉。''' 運行失敗 Traceback (most recent call last): ?File "index.py", line 6, in ? ?低頭思故鄉。''' UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128) 怎么樣改錯啊?
2019-07-28
把print后邊的u去掉就行啦