Re: [Tutor] lambda

2011-03-20 Thread Ajit Deshpande
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 st...@pearwood.infowrote: Ajit Deshpande wrote: I am trying to figure out where lambda functions can be useful. Has anyone used

[Tutor] Difference

2011-03-20 Thread ANKUR AGGARWAL
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

Re: [Tutor] Difference

2011-03-20 Thread Corey Richardson
-Original Message- From: ANKUR AGGARWAL coolankur2...@gmail.com To: tutor tutor@python.org 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

[Tutor] what is it mean--- File stdin, line 1

2011-03-20 Thread sihong lin
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 stdin , line 1  python test SyntaxError: invalid syntax but, the file can run in shell, also in the command line, I put print hello

Re: [Tutor] what is it mean--- File stdin, line 1

2011-03-20 Thread Corey Richardson
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 stdin , line 1  python test SyntaxError: invalid syntax but, the file can run in shell, also in the command line, I put print hello

Re: [Tutor] what is it mean--- File stdin, line 1

2011-03-20 Thread Andre Engels
On Mon, Mar 21, 2011 at 1:58 AM, sihong lin linsihong2...@yahoo.com 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 stdin , line 1 python test SyntaxError: invalid