我正试图从一个点子里读到档案,并写进另一个档案。
我成功地用尿液书写了简单的文字。
import urllib
page=urllib.urlopen("file.txt")
output=open( c:/test.txt , w )
output.write(page.read())
output.close()
The issue is that I need to read via sharepoint site which has authentication and iam not able to find the correct urllib command to pass the user and password info. i have even tried urlencode but still iam getting access denied. I do have permission to see the file if being view from a browse.
Jython - 2.1 正在使用,因此不能叫.。
请建议开展这项工作的任何其他职能。
事先感谢您的帮助。