Skip to content

Unable to import notebooks with names that start with a number #59

Description

@HazwanHassan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions