nbdev
nbdev copied to clipboard
Feature: add support for .py files in py:percent format
- Introduces the ability to handle .py files as py:percent files within nbdev.
- Does this by converting .py files to .ipynb format as an intermediate step in
NBProcessor.__init__
- Does this by converting .py files to .ipynb format as an intermediate step in
- Added example of usage in 'nbs/api/04_export.ipynb'.
Can export all *.py files by running nbdev_export --file_glob '*.py'
See https://jupytext.readthedocs.io/en/latest/formats-scripts.html for info on the py:percent
format.