Brython import from subdirectory

I have a subdirectory “imports” containing two files


this line
from imports.nodestuff import getNode, getEdges, options

works when I serve locally (via python -m http.server 8000)

but it doesnt’ work when I serve from

Traceback (most recent call last):
  File line 21, in 
    from imports.nodeStuff import getNodes, getEdges, options
ModuleNotFoundError: imports

I gather this has something to do with baseurl, but I can’t figure it out.

Thanks for any help

I have this same problem too! Did you get this problem fixed?

No I’m developing locally at the moment Would love a solution