/python-gen

Jupyter notebook extension for converting Jupyter notebooks to Python on a click of a button

Primary LanguagePython

Ipynb to Python

Extension for converting IPython notebook to Python file for nbdev users. Note that nbdev is required for the conversion to work.

Demo

Image

How to use

  • Install the extension

pip install PythonFileGenerator

  • Then run the following command. This is a temporary step and would be fixed going forward.

jupyter nbextension enable python-gen/index

The validation should be successful.

  • Start using it in either of the two ways

    • Click the Code button on the Jupyter notebook
    • Press ; twice (;+;) when you are in command mode