Python 3000 question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • holihue
    New Member
    • Oct 2007
    • 2

    Python 3000 question

    Why is things changed in python 3000 like:

    Code:
    print "hello"
    and in python 3000:

    Code:
    print("hello")

    Why will it be as a function?

    I don't really care that much, I just think the best to just get used to it as soon as possible.

    But my friend says it is useless, and I can't find any good arguments why it will be changed.

    All I need is some arguments.
    And why it will be changed.



    Thanks
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    Originally posted by holihue
    Why is things changed in python 3000 like:

    Code:
    print "hello"
    and in python 3000:

    Code:
    print("hello")

    Why will it be as a function?

    I don't really care that much, I just think the best to just get used to it as soon as possible.

    But my friend says it is useless, and I can't find any good arguments why it will be changed.

    All I need is some arguments.
    And why it will be changed.



    Thanks
    I cannot explain it, but maybe you can find out why HERE

    Comment

    • dazzler
      New Member
      • Nov 2007
      • 75

      #3
      The reason why I first started to like python, was that it was so simple and even printing looked as simple as possible , why they need to change printing like that?!?!

      "The net result of the 3.0 generalizations is that Python 3.0 runs the pystone benchmark around 33% slower than Python 2.5"

      is there any good things about 3.0, because I can't find them!

      Comment

      Working...