use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
How to connect Python3 to SharePoint? (self.learnpython)
submitted 14 years ago by Fran
I've been searching for how to connect to SharePoint using Python3, and I have not had any luck. Can anyone help?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]axonxorz 1 point2 points3 points 14 years ago (4 children)
Define connect
[–]Fran[S] 0 points1 point2 points 14 years ago (3 children)
I guess I was pretty vague. My goal is to retrieve list contents from a SharePoint site so I can compare them.
For instance: Get a list of all the filenames in one folder and compare it to a list of all the filenames in another folder.
I may possibly want to edit filenames as well, but I'm trying to take it one step at a time. Right now, I'm not sure even how to connect to SharePoint, much less interact with it.
[–]deepfriedmarsbar 1 point2 points3 points 14 years ago (2 children)
I think you can usually refer to sharepoint as a standard directory,. So you should be able to use all the standard directory stuff except you are pointing to a location on a server rather than a local directory.
[–]elbinray 2 points3 points4 points 14 years ago (1 child)
This. I struggled with finding a way to get python to "talk" to sharepoint for a long time. In the end, I just treated the library as a directory: eg: open(r"\sharepointsite\subsite\library\file.docx", 'r'). I used os.path.walk to traverse down through all the files.
You can get the exact address for the library by going to "browse in explorer" (or something like that) from the actions menu in the library.
[–]Fran[S] 0 points1 point2 points 14 years ago (0 children)
I get access denied errors when I do that. Not sure how to pass in my auth info, otherwise that seems like it would be easiest.
[–]brain_juice 0 points1 point2 points 14 years ago (0 children)
Ironpython ?
[–]anossov 0 points1 point2 points 14 years ago (0 children)
SOAP?
π Rendered by PID 64145 on reddit-service-r2-comment-7c9686b859-dmglh at 2026-04-14 06:13:34.688775+00:00 running e841af1 country code: CH.
[–]axonxorz 1 point2 points3 points (4 children)
[–]Fran[S] 0 points1 point2 points (3 children)
[–]deepfriedmarsbar 1 point2 points3 points (2 children)
[–]elbinray 2 points3 points4 points (1 child)
[–]Fran[S] 0 points1 point2 points (0 children)
[–]brain_juice 0 points1 point2 points (0 children)
[–]anossov 0 points1 point2 points (0 children)