[PyCharm] PyCharm automatically add header comments when you create a file py

First, how when you create a .py file, so that the contents of the file is automatically populated write custom?

File ---> Settings ---> Editor ---> Code Style ---> File and Code Templates, select Python Script, the customized content can be written.

Also supports other HTML, XML, XHTML and other documents automatically add comments.

Figure:

Released five original articles · won praise 3 · Views 363

Guess you like

Origin blog.csdn.net/lotus_2015/article/details/104790281