PyCharm添加Python自定义模板
2016-05-05 15:00
573 查看
File->settings->Editor->File andCode Templates->Python Script
#!/usr/bin/env python
# encoding: utf-8
#set( $SITE = "http://madsstudy.blog.51cto.com/" )
"""
@version: v1.0
@author: madongsheng
@license: Apache Licence
@contact: 1455975151@qq.com
@site: ${SITE}
@software: ${PRODUCT_NAME}
@file: ${NAME}.py
@time: ${DATE} ${TIME}
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass
#!/usr/bin/env python
# encoding: utf-8
#set( $SITE = "http://madsstudy.blog.51cto.com/" )
"""
@version: v1.0
@author: madongsheng
@license: Apache Licence
@contact: 1455975151@qq.com
@site: ${SITE}
@software: ${PRODUCT_NAME}
@file: ${NAME}.py
@time: ${DATE} ${TIME}
"""
def func():
pass
class Main():
def __init__(self):
pass
if __name__ == '__main__':
pass
相关文章推荐
- 用Python制作简单的爬虫---爬虫基本思想
- 231. Power of Two [easy] (Python)
- python的学习笔记
- Python处理Excel(三):内置数据类型处理Excel数据
- python 中的赋值、引用、拷贝、作用域
- python第二站续--字典dict
- python代码结构
- python {File "<stdin>", line 1} error
- py2exe打包Python程序
- python2.7安装matplotlib的一些问题
- Visual Studio Build Events 使用脚本python
- python爬虫之-BeautifulSoup
- python---------列表和元组
- Python OpenCV中色彩空间的转换类型
- Python学习笔记:列表(list)基本内容
- Python xrange与range的区别
- 204. Count Primes [easy] (Python)
- 奇怪的Python本地线程Python's Thread Locals Are Weird
- Python 的闭包和装饰器
- 如何过渡至 Python 3