Re: [Tutor] Executing from Python prompt

2008-04-20 Thread kinuthia muchane
On Sat, 2008-04-19 at 16:06 -0400, bob gailer wrote: > kinuthia muchane wrote: > > Hi, > > > > I do not know what I am doing wrong. When I run the following code from > > the Python prompt it executes without a murmur. But when I save it as > > a .py file and try to execute it from the shell, it j

Re: [Tutor] Executing from Python prompt

2008-04-19 Thread Alan Gauld
"kinuthia muchane" <[EMAIL PROTECTED]> wrote > I do not know what I am doing wrong. When I run the following code > from > the Python prompt it executes without a murmur. But when I save it > as > a .py file and try to execute it from the shell, it just returns the > prompt...actually it is all

Re: [Tutor] Executing from Python prompt

2008-04-19 Thread bob gailer
kinuthia muchane wrote: > Hi, > > I do not know what I am doing wrong. When I run the following code from > the Python prompt it executes without a murmur. But when I save it as > a .py file and try to execute it from the shell, it just returns the > prompt...actually it is all scripts that return

Re: [Tutor] Executing from Python prompt

2008-04-19 Thread kinuthia muchane
Hi, I do not know what I am doing wrong. When I run the following code from the Python prompt it executes without a murmur. But when I save it as a .py file and try to execute it from the shell, it just returns the prompt...actually it is all scripts that return a value which are behaving in this