On Mon, Mar 21, 2011 at 1:58 AM, sihong lin wrote:
> Hi,
>
> I just write a simplest file test.py with only one line--print "hello",
> when I run it in command line:
> >>> python test.py
>
> the follow message comes out:
>
> File "" , line 1
> python test
>
> SyntaxError: invalid syntax
>
> but
Hi,
I just write a simplest file test.py with only one line--print
"hello", when I run it in command line:
python test.py
the follow message comes out:
File "" , line 1
python test
SyntaxError: invalid syntax
but, the file can run in shell, also in the command line, I put
print "hello"
Hi,
I just write a simplest file test.py with only one line--print "hello", when I
run it in command line:
>>> python test.py
the follow message comes out:
File "" , line 1
python test
SyntaxError: invalid syntax
but, the file can run in shell, also in the command line, I put
>>> print "h
-Original Message-
From: ANKUR AGGARWAL
To: tutor
Sent: Sun, Mar 20, 2011 1:49 pm
Subject: [Tutor] Difference
Hey
want to know whats the difference between the pygame.display.update()
and pygame.display.flip()
An explanation with the example would be grea.
Thanks In Advance
Ankur Ag
Hey
want to know whats the difference between the pygame.display.update() and
pygame.display.flip()
An explanation with the example would be grea.
Thanks In Advance
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscripti
Fantastic explanation everyone. Thanks a lot. Looking forward to using
lambda going forward.
~ Ajit Deshpande
On Sat, Mar 19, 2011 at 6:07 PM, Steven D'Aprano wrote:
> Ajit Deshpande wrote:
>
>> I am trying to figure out where lambda functions can be useful. Has anyone
>> used them in real worl