Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101862

Re: how do I put the python on my desktop or even access it

From eryk sun <eryksun@gmail.com>
Newsgroups comp.lang.python
Subject Re: how do I put the python on my desktop or even access it
Date 2016-01-17 15:46 -0600
Message-ID <mailman.77.1453067251.15297.python-list@python.org> (permalink)
References <DUB408-EAS19552177F791097AFA0C686D8CE0@phx.gbl> <569BAD24.4030700@gmail.com>

Show all headers | View raw


On Sun, Jan 17, 2016 at 9:03 AM, Michael Torrie <torriem@gmail.com> wrote:
>
> but if it's a text-mode program you must run it from cmd.exe like this:
>
> python \path\to\myprogram.py.

You only need to run from another console program to keep the window
open after Python exits. You can even do that in other ways, but doing
that is more complicated than it is useful.

BTW, each console window is hosted by an instance of conhost.exe.
There's nothing special about cmd.exe with respect to the console.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: how do I put the python on my desktop or even access it eryk sun <eryksun@gmail.com> - 2016-01-17 15:46 -0600

csiph-web