问题
I'd like to calculate Hebrew dates (primarily the current Hebrew date) in Python. Which library is mature, easy to use, and documented? I note these. There may be others.
- Python Date Utilities Library as discussed here
- Calendrical
- libhdate Python bindings
- This informal code listing.
回答1:
The Python Date Utilities library (available on sourceforge) seems to be fine to do what you want, for more specific usage with hebrew dates you could have a look here, there are a lot of examples with many code snippets that should fit your needs i think.
来源:https://stackoverflow.com/questions/2442674/calculating-hebrew-date-in-python