Pycharm ---- set the default script request header

   Every time a new py file, need to add encoding declaration in the file header, each time manually add too much trouble, so the setting is automatically generated, can also be added the author, time, etc., see the following:

 

After setting examples show:

 

 

Operation method:

 

After the above step screenshot operation, a new py file again to see added default request header in force

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/syw20170419/p/10984231.html