Able to open a specific jupyter notebook from command line but not able to execute

好久不见. 提交于 2020-08-03 09:39:09

问题


Am trying to open and execute .ipynb file from command line, i created a vb script for this. It is below.

Set WinScriptHost = WScript.CreateObject("WScript.Shell")
WinScriptHost.Run "C:\Users\vevek.seetharaman\AppData\Local\Continuum\anaconda3\Scripts\activate.bat & jupyter notebook C:\Users\vevek.seetharaman\Downloads\Notebooks\MouseMovements.ipynb --notebook-dir=C:\Users\vevek.seetharaman\Downloads\ScriptAutomation\Notebooks", 1
Set WinScriptHost = Nothing

Mouse Movements.py is the name of the file i would like to open. When i execute this file, it opens the ipynb in browser just as expected.

However, the file just opens but does not execute. How can i execute along with open?

来源:https://stackoverflow.com/questions/62674622/able-to-open-a-specific-jupyter-notebook-from-command-line-but-not-able-to-execu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!