[Tutor] running more than one python program at the same time
Oscar Benjamin
oscar.j.benjamin at gmail.com
Mon Sep 3 21:50:32 CEST 2012
On Mon, 03 Sep 2012 18:55:43 +0100, Alan Gauld
<alan.gauld at btinternet.com> wrote:
> On 03/09/12 16:01, Benjamin Fishbein wrote:
> > Hi. I started running the program in the terminal rather than
IDLE. It
> > works, and I can run several programs at the same time. The
problem is
> > that when the program is finished running, it prints:
> > exit status: 0
> > logout
> >
> > [Process completed]
What do you mean when you say you ran the program in the terminal? Do
you mean that you opened a terminal window and then typed 'python
myprog.py'? Or did you click on the python file and choose 'run in
terminal' or similar? That output looks to me like what happens on
OSX when a terminal window is open but the shell has been closed.
I think the instruction to run in a terminal should look like:
1) open the terminal (how to do this depends on your OS).
2) type 'cd /path/to/my/script/folder' and then hit enter.
3) type 'python script.py' and then hit enter.
Is that similar to what you're doing?
Oscar
More information about the Tutor
mailing list