为什么不切换到 Python 3.x? [英] Why won't you switch to Python 3.x?

查看:24
本文介绍了为什么不切换到 Python 3.x?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我问这个是出于可部署的原因.比如,如果我用 python 写一个解决方案,由于没有采用 python 3,我觉得一定要写到 2.x.这是我每天关心的一个主要问题,我想弄清楚发生了什么.

I ask this for deployable reasons. As in, if I write a solution in python, I feel bound to write to 2.x due to the lack of adoption of python 3. This is a major daily concern of mine, and I want to figure out what's going on.

对于这里的许多基于 python 的问题,人们给出的解决方案在 python 3.x 中根本不起作用.

For many of the python-based questions here, people are giving solutions that simply do not work in python 3.x.

那么,我问一个问题:是什么阻止了您在个人或工作环境中切换到 python 3.x?转换脚本存在,但程序员(通常是所有事物的最早采用者)似乎拒绝升级.

So, I ask the question: What has prevented you from switching to python 3.x in your personal or work environment? The conversion script exists, and yet programmers (who are usually the earliest adopters of everything) seem to refuse to upgrade.

为什么?

推荐答案

[但是,也必须注意,许多Django项目中使用的django第三方包和扩展都处于Python 3兼容性实现的各个阶段.更多详细信息可以在 Django 包网站中找到,该网站跟踪各种项目的状态.]

[However, it must also be noted that the django third-party packages and extensions used in many Django projects are in various stages of Python 3 compatibility implementation. More details can be found in Django packages website which tracks the statuses of various projects.]

Django 还没有迁移到 3.0.这就是我需要知道的全部.

Django has not moved over to 3.0. That is all I need to know.

这些问题中的大多数答案都呼应了相同的情绪.除了 Django,还有太多框架/库——WxPython、PyGame、Django 等——仍然没有采用它.我敢肯定,除非他们这样做,否则我不会采取行动.

Most of the answers in these questions echo the same sentiments. Aside from Django, too many frameworks/libraries - WxPython, PyGame, Django, etc - have still not adopted it. I'm sure as hell not making the move until they do.

这篇关于为什么不切换到 Python 3.x?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆