These are chat archives for evhub/coconut
—target 36when using this
cmdseems to take arguments.
Also, as I’m trying this approach, I keep getting
Unexpected error while saving the <MyJupyterNotebookName.ipynb> database is locked message show up right above the notebook’s menu bar. I’m suspecting the auto reload and coconut.convenience are somehow conflicting with each other?
%load_ext autoreload %autoreload 2 %aimport MyCoconutModuleName
Also, there seems to be a timing issue where
coconut.convenience cmd compiles the .py file and
autoload doesn’t immediately load the new py such that the first time I run it, the old py is run, and the 2nd time, the new py.
cmdjust takes command-line arguments, so you can do
cmd([<path to module>, "--target", "36"])to enable
--target 36. As for compatibility with
autoreload, I'm not exactly sure what's happening; all
coconut.convenience.cmdshould be doing is just compiling the given file(s).