简体   繁体   中英

Set up a Jupyter remote server, SSH connected to localhost port - how do I open localhost ipynb files in my IDE

I want to be able to edit my ipynb files in an IDE like VSCode or Pycharm instead of having to open the files using the browser login. Any suggestions?

For clarity:

remotehost:

jupyter notebook --no-browser --port=####

local:

ssh -N -L ####:localhost:#### me@remotehost

http://localhost:8899/?token###

All working fine.

In PyCharm 2019.1 you can do the following:

  1. open the file by double-clicking on it

在此处输入图片说明

  1. Click on the + sign, and click on Insert Code Cell在此处输入图片说明

  2. Add code to your cell, and then click on the Play button to run the cell. Select Run Cell to execute your code.

在此处输入图片说明

Notice that the result of the execution of your cell will be shown in the right side of the PyCharm window. You can keep adding more cells as shown above.

I really hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM