如何给Pycharm加上头行 # *_*coding:utf-8 *_*?

File》Setting》Editor》Code Style》File and Code Templates》Python Script  后面加上 # *_*coding:utf-8 *_* 即可

原文地址:https://www.cnblogs.com/xubing-613/p/6598295.html