jupyter_console
jupyter_console copied to clipboard
exec_files, exec_lines option gone in jupyter_console_config.py?
Used to have these options in jupyter console 4.0.1
as seen below
https://jupyter-console.readthedocs.io/en/4.0.1/config_options.html
Can't find them in jupyter console 6.0.0
.
Is there any way for me to execute a custom startup script in jupyter console 6.0.0
?
I just tried
jupyter console --InteractiveShellApp.exec_lines=['from pprint import pprint', 'pprint(dir())']
and that worked just fine for me. Are your typical startup files not executing?
$ jupyter console --InteractiveShellApp.exec_lines=['print("hi")']
In [1]:
Nothing prints for me. Are you on v6.0.0
?
My startup files are executing, but it appears that the exec_lines
option is no longer present for jupyter console 6.0.0
. E.g., if you look at the docs for 6.0.0
you'll see that exec_lines
is gone https://jupyter-console.readthedocs.io/en/latest/
Wondering if there's an alternative?