472,122 Members | 1,509 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

Python 3000 question

holihue
Why is things changed in python 3000 like:

Expand|Select|Wrap|Line Numbers
  1. print "hello"
and in python 3000:

Expand|Select|Wrap|Line Numbers
  1. 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
Dec 11 '07 #1
2 1105
bvdet
2,851 Expert Mod 2GB
Why is things changed in python 3000 like:

Expand|Select|Wrap|Line Numbers
  1. print "hello"
and in python 3000:

Expand|Select|Wrap|Line Numbers
  1. 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
Dec 11 '07 #2
dazzler
75
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!
Dec 12 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.