Python Forum
Use output of Get_List_items() in a listbox
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use output of Get_List_items() in a listbox
#1
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
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020