Jump to content

Spy.Push() to Corporate Drive


Recommended Posts

  • Members

Starting in Version 50 Seeq now includes a Corporate Drive which is a great place to store shared documents. In order to push content to the Corporate drive using the folder path structure you need to include a bit of special code for the base "Corporate" folder

spy.push(data=csv_file,workbook=f'{spy.workbooks.CORPORATE} >> My Folder Name >> WorkbookName')

 

 

  • Like 1
Link to post
Share on other sites
  • Members

To follow up if you want to put the folder and workbook names into variables the code looks like this 

FolderPath = 'Folder level 1 >> Folder level 2'
WorkbookName = 'My Workbook'
spy.push(data = statusExpanded,workbook=f'{spy.workbooks.CORPORATE} >> ' + FolderPath + ' >> ' + WorkbookName)

 

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...