Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #file
ADD COMMENT
Topic
Name
3+3 =