Code Editor : patterns.py