empa-scientific-it / python-tutorial

Material for a Jupyter-based Python tutorial
MIT License
30 stars 9 forks source link

Errors found in the `modules and packages` notebook #241

Open despadam opened 4 months ago

yakutovicha commented 4 months ago

It is not possible to edit hidden files via Jupyter Lab interface. The way to enable that is described here: https://jupyterlab.readthedocs.io/en/stable/user/files.html#displaying-hidden-files

despadam commented 4 months ago

In exercise on installing the package specify that they need to be in the parent mypackage directory. They were already there and since the exercise asks them to execute cd mypackage then they end up in the mypackage subdirectory where the .toml file does not exist.

Also in the pip install . command the . is not very clear, most people missed it.

despadam commented 4 months ago

(not sure about this one) In Exercise on importing from parent modules should they import from mypackage or mypackage,geometry?