Ignore python compiled files
diff --git a/.gitignore b/.gitignore
index 9067724..7651202 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,8 @@
 *.cmake
 !/cmake/*.cmake
 *~
+*.pyc
+__pycache__
 
 # cmake files.
 /Testing