You would need to create Python Function App, please see the example below:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cextensionv5&pivots=programming-language-python
For Python triggers and bindings are not supported to run as web job, instead you would need to create function app.