1,我们编写Python脚本时,习惯加上两行如下代码
#!/usr/bin/env python
# -*- coding:utf-8-*-
故设置模板的方式如下
File--settings--File and Code Templates--python Script--贴上上面两行代码,点击apply,然后OK即可。

2,设置Python脚本的字体大小方式
File--settings--Font--Size

1,我们编写Python脚本时,习惯加上两行如下代码
#!/usr/bin/env python
# -*- coding:utf-8-*-
故设置模板的方式如下
File--settings--File and Code Templates--python Script--贴上上面两行代码,点击apply,然后OK即可。
2,设置Python脚本的字体大小方式
File--settings--Font--Size
本文标题:2018-08-24 pycharm 里面设置字体和Python
本文链接:https://www.haomeiwen.com/subject/azriiftx.html
网友评论