new package generate a error file

Pycharm 2021.2.1(Profession Edition)

Preferences -> Editor ->File and Code Template -> Python Script

I custom a python script template such as 

"""
Create by xyyHIT on ${DATE} ${TIME}.
"""

#[[$END$]]#

 

I get a error __init__.py file when i create a new python package, the auto generate __init__.py file like this

"""
Created by xy at 11:16 上午.
"""


$END$


I want to set the cursor to the end of the new python file,when i create a new python file.
but the new package auto generator a __init__.py with error code -- $END$.

How to config the template cursor to fix the problem?

Please sign in to leave a comment.