automatically generated header code pycharm

1. Open pycharm, right selected file, select the setting item

2

 

2. Search template, select the File and code Template -> python Scrip -> Fill header code

#!/usr/bin/env python
# -*- coding:utf8 -*-

 

Guess you like

Origin www.cnblogs.com/sundy08/p/11785566.html