Python monitoring