| # Ignores Python cache directories: | |
| # __pycache__/ - ignores cache directory in root folder | |
| # */__pycache__/ - ignores cache directories one level deep | |
| # **/__pycache__/ - ignores cache directories at any depth | |
| __pycache__/ | |
| */__pycache__/ | |
| **/__pycache__/ | |
| # Python bytecode files: | |
| # *.pyc - compiled Python files | |
| # *.pyo - optimized Python files | |
| # *.pyd - Python DLL files | |
| *.py[cod] | |
| # Python implementation-specific bytecode | |
| *$py.class | |