[Tutor] running more than one python program at the same time
Benjamin Fishbein
bfishbein79 at gmail.com
Mon Sep 3 17:01:28 CEST 2012
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 I need the program to be saved to a text file, or is there a way to simply print it out? It's a small amount of data, and I'd rather just print it out.
Ben
On Aug 29, 2012, at 9:24 AM, Marc Tompkins wrote:
> On Tue, Aug 28, 2012 at 7:35 PM, Steven D'Aprano <steve at pearwood.info> 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, in other words), the command interpreter is COMMAND.COM
>
> In 32-bit versions of Windows, you can still use the 16-bit interpreter if you want - although it's deprecated, and has been removed entirely in 64-bit Windows - but the native 32-bit command interpreter is CMD.EXE
>
> (I used all-caps for emphasis without requiring HTML formatting, but in fact Windows is generally case-insensitive.)
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120903/7623f13d/attachment.html>
More information about the Tutor
mailing list