Re: 4 Simple Questions About Python/IDLE

2006-09-12 Thread Gabriel Genellina
At Thursday 7/9/2006 13:44, Omar wrote: I'm working through a tutorial, http://swaroopch.info/text/Byte_of_Python:Control_Flow, and I sorta can't get through the tutorial without overcoming these little speedbumps. This is why I'm asking these questions. Have you read the Python tutorial whic

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread Omar
I'm working through a tutorial, http://swaroopch.info/text/Byte_of_Python:Control_Flow, and I sorta can't get through the tutorial without overcoming these little speedbumps. This is why I'm asking these questions. -- http://mail.python.org/mailman/listinfo/python-list

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread John Purser
Omar, The '>>>' were causing the problem I would guess. Those are the interactive interpreter's prompts, not python. Saving a python session like that is a starting place for creating code, not the finished product. You might also want to save the file as "helloworld11.py" before double clickin

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread Omar
okay... I got to work using the SCITE editor with print "hello world" # here we are once again raw_input("press return") cool! -- http://mail.python.org/mailman/listinfo/python-list

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread Omar
sure... >>> print "hello world" hello world >>> t=raw_input('Hit return to continue') I'm saving it as "helloworld11", then double clicking the icon I saved it as. -- http://mail.python.org/mailman/listinfo/python-list

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread Larry Bates
Omar wrote: > thank you genteman. > > however, its not working :( > > I resaved it, but same thing. > Please post some code so we can actually do something more than read your mind. You can also run the program from a shell instead of from idle to see what happens. -Larry Bates -- http://mail

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread Omar
thank you genteman. however, its not working :( I resaved it, but same thing. -- http://mail.python.org/mailman/listinfo/python-list

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread Larry Bates
Omar wrote: > thanks. > > i have saved and double clicked as suggested. when I save and double > click a simple "hello program", the b&w python shell briefly comes up, > then disappears. is this how it should work? > Yes, that is how it should work. Program is doing what you told it to. print

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread Diez B. Roggisch
Omar schrieb: > thanks. > > i have saved and double clicked as suggested. when I save and double > click a simple "hello program", the b&w python shell briefly comes up, > then disappears. is this how it should work? Yes. because when your program terminates, the shell terminates. Or would you

Re: 4 Simple Questions About Python/IDLE

2006-09-07 Thread Omar
thanks. i have saved and double clicked as suggested. when I save and double click a simple "hello program", the b&w python shell briefly comes up, then disappears. is this how it should work? -- http://mail.python.org/mailman/listinfo/python-list