python一行代码格式化日期

print("{}/{}/{} {}:{}.{}".format(*time.localtime()))
原文地址:https://www.cnblogs.com/1314h/p/15352359.html