diff --git a/.gitignore b/.gitignore
index 4e8d12e5140b895db3ad34ba371b71203a09de16..ce2e45af97a155a5107e8bd7ab7ad06b929a065c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,7 @@ build/
 ######################
 tests/*.exp
 tests/*.out
+
+# Python cache files
+######################
+__pycache__/