python 自己写个调试工具

python 自己写个调试工具

代码

# -*- coding:utf-8 -*-
import time
import sys


def get_now_time():
    """
    获取当前日期时间
    :return:当前日期时间
    """
    now = time.localtime()
    now_time = time.strftime("%Y-%m-%d %H:%M:%S"

猜你喜欢

转载自blog.csdn.net/weixin_44493841/article/details/113744894
今日推荐