ipython / ipython/ipynb

Unable to import notebooks with names that start with a number

未关闭
#59 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
258
派生
71
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。