Calculating Hebrew date in Python

你。 提交于 2019-12-10 12:58:38

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!