Sivaji Posted September 4, 2022 Share Posted September 4, 2022 When I place python scripts (.py extenstion) in the DataLab project folder and try to run those scripts using the DataLab project terminal it throws an error saying to spy.login first. However I don't require spy login for running jupyter notebook files (.ipynb extention). I run test cases using python files, it would be nice feature to be able to run these test python scripts from the DataLab without doing a spy.login. Link to comment Share on other sites More sharing options...
Seeq Team John Brezovec Posted September 6, 2022 Seeq Team Share Posted September 6, 2022 Hi Sivaji, have you played around with using the %run magic command in a datalab notebook to execute python files? For example, I can run test_spy_search.py using: %run test_spy.search.py This will pass through my authentication, so I don't have to login to execute spy functions. Would that cover your use case, or is there additional functionality you're getting out of using the terminal? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now