Sharepoint

A forum for general discussion of the Python programming language.

Sharepoint

Postby Nithya » Wed Oct 16, 2013 6:51 am

how do I upload folders to sharepoint using core python?
Is there any special modules that are readily available to start with sharepoint scripting?

I have tried giving import sharepoint, but it doesnt work for me..

Code: Select all
('/tmp/tmpCwEKGh', <httplib.HTTPMessage instance at 0x2aaaaf845710>)
>>> import sharepoint
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named sharepoint
>>>
Last edited by stranac on Wed Oct 16, 2013 7:34 am, edited 1 time in total.
Reason: Locked. Added code tags.
Nithya
 
Posts: 1
Joined: Wed Oct 16, 2013 6:43 am

Re: Sharepoint

Postby micseydel » Wed Oct 16, 2013 7:14 pm

Imagine we're all amazing Python coders who have never heard of Sharepoint and are too lazy to Google it to help you. How would you change your question?
Due to the reasons discussed here we will be moving to python-forum.io on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
micseydel
 
Posts: 3000
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Re: Sharepoint

Postby Marbelous » Thu Oct 17, 2013 10:31 pm

https://pypi.python.org/pypi/sharepoint/0.3.2

Have you actually downloaded and installed the python sharepoint module? You can't just import it if it's not on your PC.

If anyone else cares: Sharepoint is a cloud based data sharing app from... MicroSoft. :( I feel so dirty.
User avatar
Marbelous
 
Posts: 401
Joined: Fri May 31, 2013 8:12 pm

Re: Sharepoint

Postby snippsat » Fri Oct 18, 2013 1:42 am

If you read "Installation" from link in post over it should be clear.
Quick test.
First "pip install sharepoint" from command line.
Test.
Code: Select all
>>> import sharepoint
>>> sharepoint.__version__
'0.3.2'

I have "lxml" installed before, if you don't have "pip install lxml"
We will be moving to python-forum.io on October 1 2016
User avatar
snippsat
 
Posts: 1251
Joined: Thu Feb 21, 2013 12:04 am


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest