* 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)