[Tutor] running more than one python program at the same time
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
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.
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor