Manually specify a filepath upon init#
Here we see how nbproject
prints a metadata header for a notebook that has been initialized.
from nbproject import header
header(filepath="example-after-init-set-filename.ipynb")
ℹ️ Assuming editor is Jupyter Lab.
id | KLqggebgs7Tq |
version | draft |
time_init | 2022-04-18 22:07 |
time_run | 2022-10-24 12:35 |
pypackage | nbproject==0.7.0 |
from nbproject import meta
assert meta.store.id == "KLqggebgs7Tq"
assert hasattr(meta.store, "time_init")