Coder Social home page Coder Social logo

Comments (1)

cdhigh avatar cdhigh commented on August 23, 2024

实际上,我要吐槽了,Anaconda的封装者有些自以为是了,封装和增强都可以,但是改变和官方的兼容性就不对了,不过这也是上梁不正下梁歪,都是Guido自己带坏的,怨不得别人:)
Python 3k如果开始不要叫Python,而是类似C++那样的,叫P++什么的,并且文件后缀名也不能用py,要用pyp或ppp什么的,估计现在情况要好的多。
没有人将C++当做C,所以我们也不应该将Python 3k叫做Python。
和Linux各种发行版很多不兼容一样,都是自由的代价吧!

好了,吐槽完了,新版本也更新了。
如果要更好的兼容,sys.version_info.major是不够的,而是要用sys.version_info[0],这样才能兼容python 2.6和之前的版本,比如一些linux预装的2.6版本(包括老的macbook本本)。
所以修改为sys.version_info[0]。

from tkinter-designer.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.