If you are looking for free, comprehensive educational materials on this exact topic:
The book most likely matching your request is (2022) by Elisa Alòs and Raúl Merino. Download Introduction Financial Derivatives with Python pdf
The authors provide all the supporting Python code and Jupyter notebooks for free on GitHub. If you are looking for free, comprehensive educational