added Python to comments handling