Here’s a good GitHub resource with all code samples in python. It is updated with the newest research, the latest one being on combining diff-in-diff and synthetic controls (which appears later in the mixtape book)
https://matheusfacure.github.io/python-causality-handbook/landing-page.html