Skip to content

a script to convert from python script to jupyter notebook

License

Notifications You must be signed in to change notification settings

hejiaonju/py2ipynb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

py2ipynb

This is a script to convert from python (.py) to jupyter notebook. It is tested under Python 3.5.2, Ipython version 4.2.0.

Two cell types are recognized, code and markdown, starting with "#%%" and "#%%#" respectively. Each line in markdown cell should be prepended with a "#". The header of the python script can start with "#" (but not "#%%"). Header is ignored in the conversion.

About

a script to convert from python script to jupyter notebook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages