Both Azure Automation and Azure Functions support running Python scripts and do not require the creation of any VM's or similar.
Azure Functions for Python - https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-python
Azure Automation for Python - https://learn.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-python2