【发布时间】:2018-05-16 07:04:37
【问题描述】:
我是 Google Cloud Platform 的新手,我一直在研究 Python 3。我正在尝试找出哪个 Python 版本更适合 Google App Engine:Python 2.7 或 Python 3。
当我开始使用 Google App Engine 时,我意识到继续使用 Python 3 似乎太痛苦了,因为像 dev_appserver.py 这样的基本工具是为 Python 2 only 编写的。现在我遇到了相反的问题:cloudstorage 模块seems to exist only for python3。同样,当我安装它时,似乎我可以在本地测试对谷歌存储桶的读/写的唯一方法是使用google.appengine.ext 进行身份验证,而这又只能在dev_appserver.py 内或远程工作。这让我很困惑选择哪个环境。
什么是通用协议/Google App Engine 的重点是什么:Python 2 还是 Python 3?
【问题讨论】:
-
...澄清点:“Google Cloud Engine”是指“Google Compute Engine”吗?
-
Google App Engine Cloud -- 已修正
标签: python python-3.x google-app-engine google-cloud-platform google-cloud-storage