How to get and upload files from sharepoint with python?

DIEGO VILLANUEVA ARAYA 21 Reputation points
2021-11-02T14:41:02.867+00:00

I want to know where i can search information or documentation for sharepoint using python. Because, I´ll try to connect my code in python to request some files and work with them, and then upload the results.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,565 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,569 questions
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 30,906 Reputation points Microsoft Vendor
    2021-11-03T01:44:41.663+00:00

    Hi @DIEGO VILLANUEVA ARAYA ,
    You could use Office365-Rest-Python-Client library to access to Sharepoint documents.
    https://github.com/vgrem/Office365-REST-Python-Client

    Here are some examples about file operations:
    https://github.com/vgrem/Office365-REST-Python-Client/tree/master/examples/sharepoint/files


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



1 additional answer

Sort by: Most helpful
  1. Cesar Augusto Saenz Jimenez 1 Reputation point
    2022-09-29T16:34:52.527+00:00

    Hello everyone I have a question as I am new to this I would like to know how to connect to sharepoint and how to generate the access credentials to extract the published info.

    0 comments No comments