Re: [Tutor] running more than one python program at the same time

2012-09-04 Thread Wayne Werner
On Mon, 3 Sep 2012, William R. Wing (Bill Wing) wrote: junk = raw_input("Yes Master?") You don't even need the 'junk' bit: raw_input("Yes Master?") Will run just fine. HTH, -Wayne ___ Tutor maillist - Tutor@python.org To unsubscribe or change sub

Re: [Tutor] running more than one python program at the same time

2012-09-03 Thread Steven D'Aprano
On 04/09/12 01: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] Which termi

Re: [Tutor] running more than one python program at the same time

2012-09-03 Thread Oscar Benjamin
On Mon, 03 Sep 2012 18:55:43 +0100, Alan Gauld 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

Re: [Tutor] running more than one python program at the same time

2012-09-03 Thread Alan Gauld
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] That is prob

Re: [Tutor] running more than one python program at the same time

2012-09-03 Thread William R. Wing (Bill Wing)
On Sep 3, 2012, at 11:01 AM, 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

Re: [Tutor] running more than one python program at the same time

2012-09-03 Thread Benjamin Fishbein
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] And I can't access the data that the program returned. Do

Re: [Tutor] running more than one python program at the same time

2012-08-29 Thread Marc Tompkins
On Tue, Aug 28, 2012 at 7:35 PM, Steven D'Aprano wrote: In Windows, that is the DOS prompt -- either cmd.com or command.exe, I > never remember which one is which. I'm pretty sure that was intentional, but just in case... In MS-DOS/PC-DOS, and in 16-bit versions of Windows (up to Windows 98/Me,

Re: [Tutor] running more than one python program at the same time

2012-08-29 Thread William R. Wing (Bill Wing)
On Aug 28, 2012, at 11:28 PM, aklei...@sonic.net wrote: >> On 08/28/2012 03:30 PM, Benjamin Fishbein wrote: >>> Hello, >>> I wrote a program that I want to have running 24/7. But the problem is >>> that I also want to write and run other programs. I'm using Idle and it >>> won't let me run more th

Re: [Tutor] running more than one python program at the same time

2012-08-29 Thread Alan Gauld
On 29/08/12 01:09, Dave Angel wrote: On 08/28/2012 07:19 PM, Ben Fishbein wrote: Stupid question: how do I run a program from the terminal? Ben@mymachine:~$ python mydir/myscript.py If the script takes arguments, you'd put them after the script name. If it doesn't take arguments you can do

Re: [Tutor] running more than one python program at the same time

2012-08-28 Thread akleider
> On 08/28/2012 03:30 PM, Benjamin Fishbein wrote: >> Hello, >> I wrote a program that I want to have running 24/7. But the problem is >> that I also want to write and run other programs. I'm using Idle and it >> won't let me run more than one script at a time. Do you know if there's >> a way to do

Re: [Tutor] running more than one python program at the same time

2012-08-28 Thread Steven D'Aprano
On 29/08/12 08:30, Benjamin Fishbein wrote: Hello, I wrote a program that I want to have running 24/7. But the problem is that I also want to write and run other programs. I'm using Idle and it won't let me run more than one script at a time. Then don't use IDLE. IDLE is for running code intera

Re: [Tutor] running more than one python program at the same time

2012-08-28 Thread Dave Angel
On 08/28/2012 07:19 PM, Ben Fishbein wrote: > Stupid question: how do I run a program from the terminal? I've always just > gone to the drop down menu and clicked run to do it in idle. > > Haven't you noticed that the correct method of posting on this forum is to put your remarks AFTER the part yo

Re: [Tutor] running more than one python program at the same time

2012-08-28 Thread Ben Fishbein
Stupid question: how do I run a program from the terminal? I've always just gone to the drop down menu and clicked run to do it in idle. On Tue, Aug 28, 2012 at 6:17 PM, Ben Fishbein wrote: > I'm on a Mac. Using Lion. I just tried opening the terminal and typing > "python." And I'm able to open

Re: [Tutor] running more than one python program at the same time

2012-08-28 Thread Ben Fishbein
I'm on a Mac. Using Lion. I just tried opening the terminal and typing "python." And I'm able to open several terminal windows this way. I think this should be able to run many programs simultaneously. Thanks for your help. -Ben On Tue, Aug 28, 2012 at 6:04 PM, Brian van den Broek < brian.van.den

Re: [Tutor] running more than one python program at the same time

2012-08-28 Thread Brian van den Broek
On 28 Aug 2012 18:33, "Benjamin Fishbein" wrote: > > Hello, > I wrote a program that I want to have running 24/7. But the problem is that I also want to write and run other programs. I'm using Idle and it won't let me run more than one script at a time. Do you know if there's a way to do this? Or

Re: [Tutor] running more than one python program at the same time

2012-08-28 Thread Ray Jones
On 08/28/2012 03:30 PM, Benjamin Fishbein wrote: > Hello, > I wrote a program that I want to have running 24/7. But the problem is that I > also want to write and run other programs. I'm using Idle and it won't let me > run more than one script at a time. Do you know if there's a way to do this?

Re: [Tutor] running more than one python program at the same time

2012-08-28 Thread Marc Tompkins
On Tue, Aug 28, 2012 at 3:30 PM, Benjamin Fishbein wrote: > Hello, > I wrote a program that I want to have running 24/7. But the problem is > that I also want to write and run other programs. I'm using Idle and it > won't let me run more than one script at a time. Do you know if there's a > way to