Jump to content

Spy.Push() to Corporate Drive


Go to solution Solved by Shamus Cunningham,

Recommended Posts

  • Seeq Team

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 2
Link to comment
Share on other sites

  • Seeq Team

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 comment
Share on other sites

  • 6 months later...

I tried to push a workbook to the corporate folder using the command you posted, however it gave me an error saying:

module ‘seeq.spy.workbooks’ has no attribute ‘CORPORATE’

the seeq python module version I am using is: 50.3.0.173. 
Any idea how I can solve this issue?

Link to comment
Share on other sites

  • 2 years later...

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...