摘要: 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 阅读(2847) 评论(0) 推荐(0)
摘要: 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) 推荐(0)