在Python中计算希伯来语日期 [英] Calculating Hebrew date in Python

查看:135
本文介绍了在Python中计算希伯来语日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Python中计算希伯来语日期(主要是当前的希伯来语日期)。哪个库是成熟的,易于使用和记录?我注意到这些。

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.

推荐答案

Python日期实用程序库(位于 sourceforge )似乎很好,可以做你想要的,更具体的用法希伯来语日期你可以看看这里,有很多例子有许多代码片段,应该适合你的需要,我想。

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.

这篇关于在Python中计算希伯来语日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆