1、打开当前文件路径

project-->右键-->Show in Explorer

PyChram使用技巧 Python 第1张

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

2、修改字体大小

a、工作台字体:

file-->setting-->editor-->colors&fonts-->font

size为字体大小,line spacing为行距。

PyChram使用技巧 Python 第2张

b、控制台字体:

file-->setting-->editor-->colors&fonts-->console font

同上

c、全局调节

打开设置标签页,在搜索框输入mouse搜索,如图,勾选上,可以通过ctrl+滚轮调节工作台和控制台字体大小。

PyChram使用技巧 Python 第3张

3、显示行号

在行号显示空白处右键,勾选show line numbers,即可显示行号。

PyChram使用技巧 Python 第4张

4、配置模板

file-->setting-->editor-->code style-->file and code temples-->python script

配置了模板之后,新建的python文件会显示模板。

PyChram使用技巧 Python 第5张

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄