moment:一个用于处理日期的Python库

时间:2021-04-13 12:07:33
【文件属性】:
文件名称:moment:一个用于处理日期的Python库
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-13 12:07:33
Python 片刻 一个用于处理日期/时间的Python库。 受到和Kenneth Reitz的库的启发。 想法也来自 Python模块。 安装 我建议这是Beta质量的软件。 您可能对以下内容感兴趣: 还想用moment吗? pip install moment 用法 import moment from datetime import datetime # Create a moment from a string moment . date ( "12-18-2012" ) # Create a moment with a specified strftime format moment . date ( "12-18-2012" , "%m-%d-%Y" ) # Moment uses the awesome dateparser library behind the scenes mome
【文件预览】:
moment-master
----.gitignore(6B)
----README.md(4KB)
----tests.py(8KB)
----requirements.txt(40B)
----moment()
--------api.py(518B)
--------date.py(9KB)
--------utils.py(284B)
--------__init__.py(44B)
--------core.py(4KB)
--------parse.py(3KB)
----setup.py(937B)

网友评论