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

Material for a Jupyter-based Python tutorial

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

1. The correct solution for the following exercise doesn't work: ```python %%ipytest def solution_lists_are_equal(list1: list, list2: list) -> bool: # Your code starts here return list1 == list2 # Your...

bug
upcoming tutorial

Currently, we're using `pytest` to test users' answers against reference solutions. However, we want to enhance the feedback provided to users when their answer is incorrect or doesn't match the...

enhancement

Positional vs keyword arguments (use the [`inspect`](https://docs.python.org/3/library/inspect.html#inspect.Parameter) module for testing) _Originally posted by @edoardob90 in https://github.com/empa-scientific-it/python-tutorial/issues/118#issuecomment-2007242461_

upcoming tutorial

Currently, in many notebooks, the exercises are placed at the end, and they are often quite hard. It would make more sense to do more "intermediate" exercises after we cover...

enhancement
upcoming tutorial

**Describe the bug** The cell magic `%%ipytest` keeps running and locks the Ipython kernel when run used Vscode Ipython support. **To Reproduce** Steps to reproduce the behavior: 1. Install the...

bug

Perhaps we can add a quiz

upcoming tutorial

I thought it did, but I think it needs a double-check. I'm using [`pytest-timeout`](https://pypi.org/project/pytest-timeout/).

bug

It might be better to enumerate the notebooks (starting with `0-intro.ipynb`) so that they are sorted in GitHub as well

enhancement

I think the current configuration of pre-commit hooks isn't very ergonomic: every time it runs, it creates a new commit in the remote repository. This means that after a push,...

enhancement

Typically, for my projects I am using `poetry` instead of `pip` or `pipenv`. This requires some changes to config-/toml-files. Would it be relevant for this tutorial to have alternative solutions...

upcoming tutorial