Answers for "convert .py to .ipynb file"

0

convert .py to .ipynb file

Use p2j to convert Python source code to Jupyter Notebook.

From the command line, run

-->pip install p2j

then go to the directory where your file is located. -->( for example-> cd downloads, if the file is in download directory)

then run

-->p2j myscript.py
This will create a myscript.ipynb file.
Posted by: Guest on October-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language