skip to content

Training materials

Tools and resources to assist using the AgReFed Platform.

How to ....

  • run shell command in Jupyter Notebook

    Shell commands can be run from within a notebook. Note that the available commands depend on your operating system. Assuming you are using the AgReFed platform, you will have access to unix bash commands.

    In a cell, type the magic function %%bash and on the next line(s), enter your command(s), same as you would in a terminal. This is useful if you need to install a new package without leaving the notebook. Simply run:

    %%bash
    pip install yourpackage

  • use git clone in a Jupyter Notebook

    If you wan