在Python中计算希伯来语日期 [英] Calculating Hebrew date in Python
本文介绍了在Python中计算希伯来语日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- Python日期实用程序库如所讨论 here
- Calendrical
- libhdate Python绑定
- 此非正式代码清单。
解决方案
Python日期实用程序库(在 sourceforge 上可用)可以很好的做你想要的,要更详细地使用希伯来语日期,您可以查看 here ,有很多例子,许多代码片段应该符合您的需要,我想。
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.
解决方案
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屋!
查看全文