To start practicing immediately with the code from these books:
Download the Anaconda Distribution to get all the necessary math libraries (NumPy, Pandas, Matplotlib) at once. Download Introduction Financial Derivatives with Python pdf
The authors provide all the supporting Python code and Jupyter notebooks for free on GitHub. To start practicing immediately with the code from
The book most likely matching your request is (2022) by Elisa Alòs and Raúl Merino. Download Introduction Financial Derivatives with Python pdf
An interactive Open Press PDF by J.M. Schumacher that covers modeling and pricing.
While it's a broader book, the 2nd Edition PDF by Yves Hilpisch is often available through university repositories like Sea-Stat and covers derivatives extensively.