Skip to content

innovationOUtside/nb_cell_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nb_cell_shell

Install with:

pip install --upgrade git+https://github.com/innovationOUtside/nb_cell_shell.git

Call it by:

%load_ext cell_shell

A really simple piece of magic that hacks the IPython input transformation (docs) to rewrite the contents of a cell that is not prefixed in the first line by a % so that the first line is a Python block cell magic: %%python

This has the effect of executing the code in each code cell in its own Python shell.

So no hidden state. In face, no state outside the cell. Like running a py file.

I bet you that folk will still complain though. "Oh, it doesn't have state. It's really rubbish and not a REPL at all..."

About

Simple IPython Extension to make every cell its own Python3 shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages