PyCharm如何设置默认编码为utf-8
摘要:1、file --> settings --> Editor --> File Encodings 2、将Global Encoding和project Encoding的编码设置为utf-8 3、设置属性文件“Default Encoding for properties files”的编码为ut
阅读全文
posted @
2020-04-01 11:17
iszhangxt
阅读(2854)
推荐(0)
PyCharm中如何添加文件头注释
摘要:1、进入setting --> File and Code Templates --> Python Script 2、添加以下代码 #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : ${DATE} ${TIME} # @Author :
阅读全文
posted @
2020-04-01 11:04
iszhangxt
阅读(655)
推荐(0)