Python 3是否具有LDAP模块? [英] Does Python 3 have LDAP module?
问题描述
我正在将一些Java代码移植到Python,我们想使用Python 3,但在Windows中找不到适用于Python 3的LDAP模块.
I am porting some Java code to Python and we would like to use Python 3 but I can't find LDAP module for Python 3 in Windows.
这迫使我们使用2.6版本,这很麻烦,因为其余的代码已经是3.0格式.
This is forcing us to use 2.6 version and it is bothersome as rest of the code is already in 3.0 format.
推荐答案
此答案不再准确;参见下面的其他答案.
This answer is no longer accurate; see below for other answers.
很抱歉打扰您,但我认为Python 3还没有python-ldap
...
Sorry to break this on you, but I don't think there is a python-ldap
for Python 3 (yet)...
这就是为什么我们现在应该继续在Python 2.6上进行积极开发的原因(只要最关键的依赖项(库)未移植到3.0).
That's the reason why we should keep active development at Python 2.6 for now (as long as most crucial dependencies (libs) are not ported to 3.0).
这篇关于Python 3是否具有LDAP模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!