工具相关

pycharm 添加时间:

  1. Live Template 添加一个 Template Group 命名为 Common
    2.添加一个 Live Template 设置如下
    Abbreviation: time
    Description : current time
    Template Text: $time$ (# username $time$ )
    Edit Variables -> Expresssion : date("yyyy-MM-dd HH:mm:ss")
    3、让设置生效
    Define->Everywhere


原文地址:https://www.cnblogs.com/amize/p/13446571.html