python-tutorial icon indicating copy to clipboard operation
python-tutorial copied to clipboard

Material for a Jupyter-based Python tutorial

Results 87 python-tutorial issues
Sort by recently updated
recently updated
newest added

**Describe the bug** The test tries to compare two randomized lists, and passes if they are the same. Even with the proposed solution, the test does not pass 2/2 **To...

advanced tutorial

Hopefully closes #240. Add proper error handling, logging, command-line options, and improved documentation. Clean anchor generation, add version, and enhance CLI help text.

documentation
enhancement

The import statement for tutorial.threads in the first code-cell in **Higher level interface: concurrent.futures** is yielding a ModuleNotFoundError The statement: `from tutorial.threads import parallel_work, sequential_work` **To Reproduce** Run all cells...

advanced tutorial
may2025

**Describe the bugs** A) Final string should be reverted, with e.g. result = result[::-1], to yield the correct result. https://github.com/empa-scientific-it/python-tutorial/blob/cbd5572b1aff6875f5f75689217125cfcb28540a/tutorial/tests/test_02_control_flow.py#L412-L419 ``` decimal //= to_base #TODO: result = result[::-1] to revert...

bug
basic tutorial

If Jupyter Lab is set to use a password instead of the (default) token-based authentication, the package `ipynbname` doesn't work as expected and the notebook's name cannot be found. Here's...

bug

```python class Eye: def __init__(self, color): self.color = color class Mother(Eye): def __init__(self, color): super().__init__(color) class Father(Eye): def __init__(self, color): super().__init__(color) class Child(Eye): def __init__(self, mom: Mother, dad: Father): result...

clarification
advanced tutorial

Fixes #270

bug
clarification
nov2024
basic tutorial

Fix #310

advanced tutorial
may2025

Add a paragraph about https://www.pythontutorial.net/python-oop/python-__new__/

advanced tutorial
may2025