You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import sharepy
s = sharepy.connect("https://xxx.sharepoint.com", username='xxx@xxx.com', password='xxx')
with open("file.xlsx", "rb") as file_data:
try:
response = s.post(url = "{url of file}", data=file_data)
except Exception as err:
print("Some error occurred:",str(err))
From the above code I am able to insert data into spreadsheet but it is inserting into "Sheet1" but I want to insert into "Sheet2". Can someone help me how can I achieve that.
The text was updated successfully, but these errors were encountered:
From the above code I am able to insert data into spreadsheet but it is inserting into "Sheet1" but I want to insert into "Sheet2". Can someone help me how can I achieve that.
The text was updated successfully, but these errors were encountered: