Call Jupyter Notebook magic command programmatically, from script

后端 未结 0 1347
情深已故
情深已故 2021-01-05 08:07

You can call a magic command in Jupyter from a script as follows:

ipython = get_ipython()
mgc = ipython.run_line_magic

mgc(magic_name = "my_magic_comman         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题