Re: Equivalent of Jupyter %run

2020-01-13 Thread Jeff Zhang
There's no offical examples in zeppelin project, but you can try it as following %python.ipython %run your_python_script_file And what do you mean error prone ? What kind of error you will hit ? Eric Pugh 于2020年1月13日周一 下午8:23写道: > I ended up having a notebook called “shared_code”, and would ju

Re: Equivalent of Jupyter %run

2020-01-13 Thread Jeff Zhang
These errors didn't give many clues, I suspect maybe there're other errors in the log. Could you check again ? Dave Boyd 于2020年1月12日周日 上午12:35写道: > Jeff: >Thanks. > > I tried the following: > > %ipython > %run /Dave_Folder/ElasticUtils > > I get the following error: > > java.util.concurrent.

Re: Equivalent of Jupyter %run

2020-01-13 Thread Eric Pugh
I ended up having a notebook called “shared_code”, and would just always run it before I did any work. That approach worked, but was error prone and made refactoring any complex logic much harder. I did play around a bit with some of the %sh to edit .py files, and then load them.. Jeff,