Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101866 > unrolled thread
| Started by | Michael Torrie <torriem@gmail.com> |
|---|---|
| First post | 2016-01-17 17:05 -0700 |
| Last post | 2016-01-17 17:05 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: how do I put the python on my desktop or even access it Michael Torrie <torriem@gmail.com> - 2016-01-17 17:05 -0700
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2016-01-17 17:05 -0700 |
| Subject | Re: how do I put the python on my desktop or even access it |
| Message-ID | <mailman.81.1453075554.15297.python-list@python.org> |
On 01/17/2016 02:46 PM, eryk sun wrote: > 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. Yes, but then we'll get the OP posting to ask why his python program doesn't run. When he double-clicks his Py file it pops up briefly then disappears! (Unless the code waits for user input of course). > BTW, each console window is hosted by an instance of conhost.exe. > There's nothing special about cmd.exe with respect to the console. Of course, but I doubt very many people know about conhost.exe. And conhost.exe is rather useless in and of itself unless you have something to run on it. Thus the usual way to get a console window that you can actually work with is to run cmd.exe. I seriously doubt you would tell a newbie to somehow use conhost.exe to run his program.
Back to top | Article view | comp.lang.python
csiph-web