Skip to content

Run shell commands #76

@pavolloffay

Description

@pavolloffay

IPython kernel provides a way to run shell commands in code blocks https://jakevdp.github.io/PythonDataScienceHandbook/01.05-ipython-and-shell-commands.html#Shell-Commands-in-IPython

!echo "Hello"

I run the jupyter notebook as docker run --rm -it -p 8888:8888 -p 4040:4040 -p 9001:9001 -e JUPYTER_ENABLE_LAB=yes -v ${PWD}:/home/jovyan/work pavolloffay/trace-dsl:latest. The
command is run in a directory with a library so it is injected into the container. Then I do changes to the library in local IDE running on the host and to load the changes in the notebook I have to run maven install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions