On 05/20/10 22:26, nexusxox wrote:
>
> ;)>>> print “hello world”
> SyntaxError: invalid syntax
>
> what is wrong with this statment using Python 3.2.1
>
> Just learning python and already a error is it because its the later
> version and is there a cmd to bring up help when writing simple
> statments
$python3
Python 3.0b3 (r30b3:65927, Sep 17 2008, 17:46:08)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> help(print)
Help on built-in function print in module builtins:
Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
file: a file-like object (stream); defaults to the current sys.stdout.
sep: string inserted between values, default a space.
end: string appended after the last value, default a newline.
(END)
On 05/21/10 12:24, DenverD wrote:
> heh! i’m not a programmer and even i can see what s/he did wrong
> (didn’t look at the book/manual, just guessed the format–wrongly)
>
“print” did change from 2.x to 3.x, from a statement to a function.
But a shallow look in the abundantly available documents would have been
a lot easier that waiting for an answer here I would think.
YOU ****TARD THEO!!! How ****ING DIFFICULT IS IT TO GIVE A QUICK ****ING ANSWER!!! HOLY ****ING CHRIST! I TYPE print “hello world” AND I AM TRYING TO FIGURE OUT WHAT THE **** IS WRONG, AND I HAVE TO LISTEN TO MORE STUPID ****ING ******** FROM DUMB ****ING PROGRAMMERS LIKE YOURSELF!!!
HOW ****ING HARD IS IT TO JUST SAY "Oh yeah print “hello world” changed to print "WHATEVER TEH **** !!! **** YOU MAN! **** ALL YOUR ANSWERS!!! MAKING ME SPEND MORE TIME LOOK UP ****! THIS WAS THE FIRST RESULT ON GOOGLE!~!!!
I seriously want to go on a vendetta for every time I see someone give a convoluted answer to a simple question on a programming forum. I want to find them, hunt them down, break into their house, and smack them upside the head. Tell me Theo, how difficult was it to just type the answer??? This is the first search result I was given to click on, and I have to read your garbage to find a simple answer. I get so sick of reading nonsense for simple things. If I can’t get the answers I want, forums are worthless. You make forums worthless Theo. You managed to type those two sentences, but the answer was 3 words!!! You are a habitual flavor waster.