2017-03-10 27 views
0

我尝试使用Windows的Auth0,但它只是一个试用。 GUI应用程序假设有权访问本地Active Directory用户和计算机。通过使用无法使用python2.7访问Active Directoy

我试图找出最简单的实现方法。

+0

我用这个链接,它只是不清楚的GUI设计链接到源代码。 我仍然是python编程的新手。 –

+0

请发布您的代码。 – Mushir

回答

0

https://docs.python.org/2/library/os.path.html

import os 

path = "your path" 

# Check current working directory. 

retval = os.getcwd() 
print "Current working directory %s" % retval 

# Now change the directory 
os.chdir(path) 

# Check current working directory. 
retval = os.getcwd() 

print "Directory changed successfully %s" % retval