Added IDE mode for Python