Python Forum

Full Version: Use output of Get_List_items() in a listbox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Please help. I'm a NOOB to Python with an extensive background in all of the wrong stuff :( I know what I want to accomplish, but it has become extremely frustrating trying to slowly pick my way through the various techniques and discussions to get what I need to do done.

I have the following code:

from shareplum import Office365
from shareplum import Site
authcookie = Office365('https://MarvelHeros.sharepoint.com/', username='[email protected]', password='Password).GetCookies()
site = Site('https://MarvelHeros.sharepoint.com /Avengers/', authcookie=authcookie)
lstHeroStuff = site.List(‘Hero Powers’)
sp_data = lstHeroStuff.get_list_items()
print (sp_data)
This provides me with some data, but I need to know how to put this data into an array and/or a list box.

I have created a PDF document with the complete description in the followign link:
Complete description of problem

Please help Blush