每次我创建新的Python文件时,它都以开头__author__ = 'username'。我不需要这个,但是我想导入一些模块,例如from __future__ import division。
__author__ = 'username'
from __future__ import division
我怎样才能做到这一点?
试试这个,
转到File -> Settings -> File and Code Templates -> Python Script,然后根据需要进行更改。
File -> Settings -> File and Code Templates -> Python Script
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
点击生成二维码
我来说两句