python - python 中的 Azure WebJobs

标签 python azure azure-storage azure-web-roles

我正在尝试在 python 中创建一个监听队列的网络作业。我在 C# 中使用以下代码做了同样的事情,

public static void ProcessQueueMessage([QueueTrigger("webjobsqueue")] string inputText,
                                        [Blob("containername/blobname")]TextWriter writer)
        {
            writer.WriteLine(inputText);
        }

我想要 python 中的等效项来监听队列并触发 python 文件。

最佳答案

目前不支持Python的WebJobs SDK,您可以使用Azure Python SDK这样做是因为您不必使用 WebJobs SDK 来创建 WebJob。

关于python - python 中的 Azure WebJobs,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24504099/

相关文章:

python - 在 VPS 上运行 Selenium webdriver 时出现各种 Urllib2 错误

python - 嵌入式python解释器,生成自动补全的 stub 源代码

python - 无法使用推文 [Lat-Lon] 抓取地理坐标

azure - 如何根据 set_facts 将多个 ansible 条件合并为一个

Azure 显示目录内容

c# - Windows Azure - 清理 WADLogsTable

Python numpy 将0更改为-1而不将False更改为-1

azure - Hadoop 和 Druid 与 Jackson 库不兼容的问题

c# - TableServiceContext.CreateQuery 的替代方案

c# - 在 MapReduce 中使用 Windows Azure 存储执行 Reduce 函数后无法看到最终结果