Maybe you're inadvertently running Python with either the '-i' switch or with
the PYTHONINSPECT environment variable set?
When you do that, your script will launch an interactive prompt after it
completes.
C:\Python27>echo print "hello" > hello.py
C:\Python27>python hello.py
hello
C:\Python
On 27/10/2013 11:31, Colin J. Williams wrote:
> On 27/10/2013 10:32 AM, David wrote:
>> I am an absolute beginner and am working through the book Python Programming
>> for the Absolute Beginner by Michael Dawson. Everything is fine except if I
>> run a scripted programme, or one I have download
On 27/10/2013 10:32 AM, David wrote:
I am an absolute beginner and am working through the book Python Programming for the
Absolute Beginner by Michael Dawson. Everything is fine except if I run a scripted
programme, or one I have downloaded, and then run another one, the second one will not
r
I am an absolute beginner and am working through the book Python Programming
for the Absolute Beginner by Michael Dawson. Everything is fine except if I
run a scripted programme, or one I have downloaded, and then run another one,
the second one will not run, I just get the >>> in the interacti