In pycharm, when making a new "Python File" it has some content by default:
__author__ = 'david'
.
What I want to do, is changing this default content by the following shebang:
#!/usr/bin/env python
#-*- coding: utf-8 -*-
This way, when opening new python files on pycharm, this content above will already be there. How to do this?
The menu path is now File > Settings > Editor > File and Code Templates. You might need to change it on multiple templates depending upon how many of your Python templates have this at the top.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With