#j2p: A simple Python package to convert Jupyter notebooks to Python scripts.
If you find yourself needing to convert a notebook to a Python script, you likely turn to nbconvert. However, this often results in a script with annoying cell separators. Consequently, you may try manually removing these extra lines to focus solely on the code itself.
This tiny package provide a cleaner solution
## Installation
## Usage
output name is optional.
P.S:
There is already a package (not by me) for the reverse action
GitHub: https://github.com/Ziaeemehr/j2p
If you find yourself needing to convert a notebook to a Python script, you likely turn to nbconvert. However, this often results in a script with annoying cell separators. Consequently, you may try manually removing these extra lines to focus solely on the code itself.
This tiny package provide a cleaner solution
## Installation
pip install ju2py
## Usage
j2p example.ipynb [output.py]
output name is optional.
P.S:
There is already a package (not by me) for the reverse action
pip install p2j
p2j example.py
GitHub: https://github.com/Ziaeemehr/j2p
GitHub
GitHub - Ziaeemehr/j2p: A Tiny Python package to convert Jupyter notebooks to Python scripts.
A Tiny Python package to convert Jupyter notebooks to Python scripts. - Ziaeemehr/j2p
👍3