I'm a big fan of playgrounds. Every repo should have a playground.py
to make it easy to jump right
into REPL-driven development.
However, it's hard to understand what's in the playground.py
once it gets big. This project eliminates this problem (example from this project):
pip install ipython-playground
- Run
ipython-playground
to generate aplayground.py
. - Execute
./playground.py
to start an IPython session with additional setup.