Import local module in jupyter notebook

I’m finding local library names must begin with a capital letter. If I keep all my local files in a folder called Code, I can import them; if it’s called code, I cannot. (The names of subfolders and subfiles don’t seem to suffer that restriction.)

This appears to be a Jupyter restriction, not a Python one — from the command-line Python repl I can import whatever local .py file I want.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)