设置头部信息路径:打开File—Settings—Editor—File and Code Templates—Python Script输入要自动生成的头部信息模板这样,新建py文件就会自动生成头部信息参考设置: # coding: utf-8 # Team : Quality Management Center # Author:Carson # Date :$DATE $TIME # Tool :$PRODUCT_NAME