![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
slow_learn
走在路上的学习者。
展开
-
python 项目中datetime模块应用
一. 导包import timefrom datetime import datetime二. 应用1. 生成当前时间时间戳timestamp = time.time()print("十位时间戳", timestamp)# 十位时间戳 1612404485.22710322. 将时间戳转换成日期时间格式date = datetime.fromtimestamp(timestamp)print("日期: ", date)print("类型: ", type(date))# 日期:原创 2021-02-04 10:26:33 · 145 阅读 · 0 评论 -
VSCode django和falsk Debug配置文件
django调试配置{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configuration原创 2021-02-01 08:53:59 · 270 阅读 · 0 评论