Azure API 应用程序:Python 支持哪些版本?

Azure API App: Which versions of Python are supported?

关于 Azure API 应用程序支持哪些 Python 版本,我似乎找不到明确的答案。我们所知的 Azure API 应用服务 运行。我需要知道默认情况下 Azure 应用服务上安装了哪些版本的 Python 解释器。

您可以通过连接到 Kudu 控制台并使用 "python --version" 和 "python3 --version" 来实时获取此信息。至少这是准确的,即使它随时间变化。

我相信它是 python 2.7.8 和 Python 3.4.1,但这是一个猜测,现在可能不是。

您还应该阅读这篇关于如何在 AppService 上更新 Python 的文章(即使这不是您的直接问题)。因为这有助于您控制版本: https://blogs.msdn.microsoft.com/pythonengineering/2016/08/04/upgrading-python-on-azure-app-service/