Appium with python

how to handle automatic alerts in Appium using python.