convert py to ipynb file

Solutions on MaxInterview for convert py to ipynb file by the best coders in the world

showing results for - "convert py to ipynb file"
Gabriele
19 May 2019
1Use p2j to convert Python source code to Jupyter Notebook.
2
3From the command line, run
4
5-->pip install p2j
6
7then go to the directory where your file is located. -->( for example-> cd downloads, if the file is in download directory)
8
9then run
10
11-->p2j myscript.py
12This will create a myscript.ipynb file.
13