Convert .py to .ipynb April 7, 2019 Use p2j to convert Python source code to Jupyter Notebook. From the command line, run pip install p2j then p2j myscript.py This will create a myscript.ipynb file. Reference https://github.com/raibosome/python2jupyter
Raul Gimeno says January 13, 2021 at 1:38 am the conversion from.py to .ipynb does not function. I get a SyntaxError: invalid syntax Thank you for your response Reply
Leah says January 13, 2021 at 8:52 am What is your syntax? Type `p2j -h` for usage help. Also, validate Python version, p2j requires Python >= 3.6. Reply
the conversion from.py to .ipynb does not function.
I get a SyntaxError: invalid syntax
Thank you for your response
What is your syntax? Type `p2j -h` for usage help. Also, validate Python version, p2j requires Python >= 3.6.