不废话直接上图和代码模板,
ps: 怕环境重新配置的时候找不到所以在这里备份一下.有需要自己复制也方便找
首先是找到可以自定义代码风格的相应设置
然后把模板代码复制或者编辑好,我这里直接贴出我自己设置好的模板,备用.##!/usr/bin/python3.7.2
# -*- coding: utf-8 -*-
# @Time : ${DATE} ${TIME}
# @Author : ${USER}
# @Desc : ==============================================
# Life is Short I Use Python!!! ===
# If this runs wrong,don't ask me,I don't know why; ===
# If this runs right,thank god,and I don't know why. ===
# Maybe the answer,my friend,is blowing in the wind. ===
# ======================================================
# @Project : ${PROJECT_NAME}
# @FileName: ${NAME}.py
# @Software: ${PRODUCT_NAME}${PRODUCT_VERSION}
# @ Blog:https://www.jianshu.com/u/fc07c32dd8bd
# 作者:小小小小小小小小小小銀
# 链接:https://www.jianshu.com/u/fc07c32dd8bd
# 來源:简书
# 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
就是这样,很好玩吧...哈哈哈
网友评论