问题
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