diff --git a/slides.qmd b/slides.qmd index ab00018cae98f2ba0da3e33f03941c23286b8cc4..415a2ba2422c7db5b4b0b237d9d953309e92cd8f 100644 --- a/slides.qmd +++ b/slides.qmd @@ -45,7 +45,7 @@ author: # Standard library * Python code is organized in [modules](https://docs.python.org/3/tutorial/modules.html) and [packages](https://docs.python.org/3/tutorial/modules.html#packages) -* The [standard library](https://docs.python.org/3/library/index.html) provides extensive built-in facilities</br> +* The [standard library](https://docs.python.org/3/library/index.html) provides extensive list of built-in packages</br> (`sys`, `re`, `datetime`, `pathlib`, ...) ```{python} @@ -55,6 +55,11 @@ author: print(randint(0, 42)) ``` +:::{.notes} +Make sure to motivate the difference between module and package. +In Python, the term "library" is only used in the context of the standard library. +::: + # External packages {auto-animate=true} * The python package index ([PyPI](https://pypi.org)) is a centralized repository for third-party packages @@ -123,7 +128,7 @@ author: :::{.column width=75%} * [`mamba`](https://mamba.readthedocs.io/en/latest/index.html) is a drop-in replacement for `conda` written in C++ -* Conflict resolution is **much** faster +* Dependency solving is **much** faster * Can be installed as self-contained single-file executable (`micromamba`, well-fitted for CI) :::