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 -*-
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 -*-