ipython / ipython/ipynb

Unable to import notebooks with names that start with a number

Abierto
#59 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
258
Forks
71
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Create a second notebook and import the first notebook.

```python
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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.