ipython / ipython/ipynb

Unable to import notebooks with names that start with a number

Ouverte
#59 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
258
Forks
71
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.