port python script to jupyter notebook 1

port python script to jupyter notebook

#install module
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 (command prompt i.e. CMD):
p2j myscript.py

Here is what the above code is Doing:
1. It is installing the p2j module.
2. Then it is going to the directory where the file is located.
3. Then it is running the p2j module on the file.

Similar Posts