jupyter-xeus / xeus-sqlite

Jupyter kernel for SQLite
BSD 3-Clause "New" or "Revised" License
166 stars 25 forks source link

%LOAD magic + doc #110

Closed Epithumia closed 3 years ago

Epithumia commented 3 years ago

The %LOAD magic command doesn't behave like documented.

For example, this works fine (with testdb.db existing in the same folder as the notebook):

%LOAD testdb.db

Giving it an absolute/relative path works as well

%LOAD /absolute/path/to/testdb.db

On the other hand, this doesn't work:

%LOAD "testdb.db"

Result: "Error: The path doesn't exist." Same issue with single quotes, with absolute or relative paths.

marimeireles commented 3 years ago

huh, thank you for capturing this! Feel free to open a PR to change it :)

marimeireles commented 3 years ago

This is fixed by https://github.com/jupyter-xeus/xeus-sqlite/pull/116