Running Python programmes
Dave Angel
davea at davea.name
Tue Oct 29 00:47:38 EDT 2013
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 downloaded, and then run another one, the second one will not run, I just get the >>> in the interactive window. I have to exit Python and start again, when the second programme then runs fine.
>>
>> Any suggestions much appreciated.
>>
You leave out a lot of details, including what version of Python, what
OS, how you're running these "programmes" and what you mean "will not
run."
For example, if you're on Linux, running Python 3.3, and you're running
these "programmes" from the bash prompt,
$ python3.3 prog1.py
some results
$ python3.3 prog2.py
some other results
I'd be amazed if you even saw the >>>> prompt.
--
DaveA
More information about the Python-list
mailing list