ipynb icon indicating copy to clipboard operation
ipynb copied to clipboard

Unable to import notebooks with names that start with a number

Open HazwanHassan opened this issue 2 years ago • 0 comments

Create a notebook with a number as the first character example 1-initial-process.ipynb

Create a second notebook and import the first notebook.

import ipynb.fs.full.1-initial-process as initial_proc

You will get a syntax error that highlights the 'dot' before the filename with the text "SyntaxError: invalid syntax"

When the first notebook is renamed to initial-process.ipynb, the import call works.

HazwanHassan avatar Jun 21 '24 02:06 HazwanHassan