469,293 Members | 1,335 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,293 developers. It's quick & easy.

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 1065
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 this site, you agree to our Privacy Policy and Terms of Use.