#!usr/bin/python3
# -*- coding: utf-8 -*-
"""
@file:${NAME}.py
@time:${YEAR}/${MONTH}/${DAY}
@author:${USER}
"""
#!/usr/bin/python3
# -*- coding: utf-8 -*-
Variable | Expression | Skip if define |
---|---|---|
NAME | fileName() | ✓ |
DATE | date() | ✓ |
USER | user() | ✓ |
#!usr/bin/python3
# -*- coding: utf-8 -*-
"""
@file: $NAME$
@time: $DATE$
@author: $USER$
"""
deactivate the sql injections info in *.py
or just right-click a dir in the project-window to mark it as sources. by doing so, you could fix python module import problems in pycharm.
for example:
web-project
|www
|app.py
|orm.py
we could use
import orm
in app.py afterwww
marked as sources, while onlyfrom www import orm
is valid before that.