I connect to my own jupyter server via vpn/ssh with vscode.
Having asked gpt, read articles here and tried many versions, I still end up doing this at the beginning of each notebook:
BASE_PATH = '/home/bartsimpson/dev/'
import os
import sys
sys.path.append(BASE_PATH)
Is there a way to set it somewhere in my jupyter server or in vscode so that I could easily do this without setting path manually?
from library.myclass import MyClass
if it resides in /home/bartsimpson/dev/library/myclass.py
?