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?
Join the #python-forum IRC channel on irc.freenode.net!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
micseydel
 
Posts: 1391
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.
Marbelous
 
Posts: 146
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"
User avatar
snippsat
 
Posts: 234
Joined: Thu Feb 21, 2013 12:04 am


Return to General Discussions

Who is online

Users browsing this forum: Bing [Bot], snippsat and 1 guest