Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 679 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 679 Bytes

README GitHub labels

.ipynb to .py converter

A tool to convert Jupyter notebook files to Python files. Markdown is preserved as Python comments for reconversion.

To Use:

  • Clone repository.
  • Open Command Prompt and cd to folder.
  • Open main.py and change filepath from "files_to_convert/test.ipynb" to the path of your file.
  • Run main.py from command prompt.
  • Look for your .py file in /converted_files.

TODO:

  • Write ArgParser for supplying filepath as parameter.
  • Modify to convert files in batch from specified folder.
  • Strip extra '\n' characters.