Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是在学习 python,因此目前我的大部分脚本都是 3.3。
但是我希望能够使用 python 2.7 编写一些脚本。
特别是我想使用一个 Gmail 脚本
Gmail Python 库
谁能告诉我是否可以安装 2.7 和 3.3。并在开发python时在它们之间切换?
原则上是可以的,我已经同时安装了 32 位和 64 位 Python 没有问题(都低于版本 3)。您将无法为每个使用文件关联,但您可以启动每个 Python 并从解释器中加载想法。唯一可能遇到问题的地方是这两个版本的注册表项是否冲突。我还没有看到这种情况发生,但不同的 Python 端口可以以不同的方式处理它。
最好的问候,玛丽