【问题标题】:Is it possible to change the Python interpreter version DreamPie is using?是否可以更改 DreamPie 使用的 Python 解释器版本?
【发布时间】:2011-03-17 15:55:01
【问题描述】:

我的系统上同时安装了 Python 3.1 和 Python 2.7。我通常使用 Python 3.1,但有时我需要使用 Python 2.7。

我使用的 Python shell 是 DreamPie,它同时支持 3.1 和 2.7。默认情况下,它使用 Python 3.1。

是否可以告诉 DreamPie“请暂时使用 2.7”,然后通过告诉 DreamPie“很好,现在使用 3.1”返回 3.1?

如果是这样,那怎么办?不然我还能怎么办?

【问题讨论】:

    标签: python shell python-3.x


    【解决方案1】:

    给定你的 python2 可执行文件的路径...

    dreampie /path/to/python2.x
    

    【讨论】:

      猜你喜欢
      • 2016-06-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-22
      • 2011-05-29
      • 1970-01-01
      相关资源
      最近更新 更多