Re: [Tutor] different behaviour in Idle shell vs Mac terminal

2012-01-09 Thread Steven D'Aprano
Adam Gold wrote: Thanks Steven that worked. In terms of why I'm using this: I shouldn't overstate what I'm doing when I say financial maths. One of the elements is a mortgage calculator for my mother who's, shall we say, not a "power user". After taking the basic inputs, it prints out a few s

Re: [Tutor] different behaviour in Idle shell vs Mac terminal

2012-01-09 Thread Adam Gold
> Date: Sun, 8 Jan 2012 23:34:15 + > From: Adam Gold > To: > Subject: [Tutor] different behaviour in Idle shell vs Mac terminal > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > > > I have short piece of code I'm using to print a

Re: [Tutor] different behaviour in Idle shell vs Mac terminal

2012-01-09 Thread Peter Otten
Alan Gauld wrote: > On 08/01/12 23:34, Adam Gold wrote: >> >> I have short piece of code I'm using to print a string to > > the terminal one letter at a time. It works fine when >> I invoke the script from within Idle; each letter appears >> afterthe preceding one according to the designated tim

Re: [Tutor] different behaviour in Idle shell vs Mac terminal

2012-01-08 Thread Alan Gauld
On 08/01/12 23:34, Adam Gold wrote: I have short piece of code I'm using to print a string to > the terminal one letter at a time. It works fine when I invoke the script from within Idle; each letter appears afterthe preceding one according to the designated time > interval. > However if I r

Re: [Tutor] different behaviour in Idle shell vs Mac terminal

2012-01-08 Thread Steven D'Aprano
Adam Gold wrote: I have short piece of code I'm using to print a string to the terminal one letter at a time. It works fine when I invoke the script from within Idle; each letter appears after the preceding one according to the designated time interval. However if I run it in the Mac termina

[Tutor] different behaviour in Idle shell vs Mac terminal

2012-01-08 Thread Adam Gold
I have short piece of code I'm using to print a string to the terminal one letter at a time.  It works fine when I invoke the script from within Idle; each letter appears after the preceding one according to the designated time interval.  However if I run it in the Mac terminal ('python3 ./scri