如何在Azure服务器上运行Python脚本?

时间:2020-05-01 19:15:29

标签: python web server

我是Microsoft Azure的新手。我用Python创建了一个机器人,该机器人从我在Facebook中创建的页面中的Messenger中接收消息,处理所发布的每条消息,转换为一个函数,该函数产生输出以呈现给Messenger(通过Webhook)。

由于我没有网站空间,所以我的Python脚本在计算机上本地运行,并且我正在使用本地托管在Messenger中来回“通信”,并使用本地托管地址作为Webhook链接。我还需要脚本在计算机和本地主机上本地运行,以便我的机器人在Facebook Messenger中运行。

I was wondering if there is a way to run my script directly from a server on Azure when and if I get web space, instead of from my machine locally (as I THINK Azure is the place to do this from), and how do I run my script from there instead on a 'constant basis'? Thank you for any assistance.  

0 个答案:

没有答案