https://github.com/pythoninthegrass/jn_shell_demo
https://github.com/pythoninthegrass/jn_shell_demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pythoninthegrass/jn_shell_demo
- Owner: pythoninthegrass
- License: unlicense
- Created: 2024-05-31T18:15:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-07T23:30:20.000Z (11 months ago)
- Last Synced: 2025-02-12T21:12:50.587Z (11 months ago)
- Language: Jupyter Notebook
- Size: 77.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```