New python library for time
You can view or create your time. How to do it? It’s very simple: Run this library:
- Install .zip file in github
- Copy file: pynumeral-main/bin/momenter.py
- Create new folder and paste momenter.py
- Create new (for example test.py) .py file in this folder (the folder must contain a Momenter file)
- Write the code to your newly opened .py file and run it, following the Momenter syntax
And importing codes
import momenter
Some methods in momenter:
momenter.nowyear() # 2021
momenter.mydate(2007, 25, 5) # 2007.25.5
This library supporting python 3.
Formatting times in momenter:
momenter.format("YYYY MM DD HH MM SS") # 2021 04 Sunday 14 20 50