An open API service indexing awesome lists of open source software.

https://github.com/pythoninthegrass/jn_shell_demo


https://github.com/pythoninthegrass/jn_shell_demo

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# jn_shell_demo

Demos of using Jupyter Notebook calling shell commands.

`stdout` and `stderr` are captured and displayed in the notebook.

## Requirements

[python 3.11+](https://www.python.org/downloads/)

## Installation

```bash
python -m pip install -r requirements.txt
```

## Usage

```bash
source .venv/bin/activate
jupyter notebook
```

Navigate to `ansible.ipynb` and run the cells.

```bash
open http://localhost:8888/notebooks/ansible.ipynb
```

Deactivate the virtual environment.

```bash
deactivate
```