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


Groups > comp.lang.python > #95040

Re: Installation Successful, but pythonw and idle doesn't function

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.python
Subject Re: Installation Successful, but pythonw and idle doesn't function
Date 2015-08-06 00:09 +0200
Organization PointedEars Software (PES)
Message-ID <2089419.rtOe05Tiyo@PointedEars.de> (permalink)
References <mailman.1245.1438807197.3674.python-list@python.org>

Show all headers | View raw


Rick Smith wrote:

> However pythonw.exe did not and does not work. I was simply returned to
> the command prompt, without ANY interaction or error.
> 
>    prompt>pythonw
> 
>    prompt>

Works as designed.  You are proceeding from a false assumption.  pythonw.exe 
is not meant to provide an interactive Python shell.  A little Web research 
would have showed that to you.

<http://stackoverflow.com/questions/9705982/pythonw-exe-or-python-exe>

(First hit for “pythonw” on Google with my account.  I have never visited 
that site before or can remember to have searched for “pythonw”.)
 
> I also attempted to run "idle", with the following results:
> 
>    C:
\Users\judy\AppData\Local\Programs\Python\Python35-32\Lib\idlelib>idle.py
>    ** IDLE can't import Tkinter.
>    Your Python may not be configured for Tk. **

I do not know IDLE well (if at all after all this time).  Make sure that you 
have installed the prerequisites.  But it strikes me as odd to run a GUI-
based application from the Windows command shell.  Is there not an icon that 
you can use instead to run it?  Presumably that would execute a .bat or .cmd 
script that sets up the PYTHONPATH.  RTFM, STFW.
 
-- 
PointedEars

Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.

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


Thread

Installation Successful, but pythonw and idle doesn't function "Rick Smith" <python@activemail.us> - 2015-08-05 16:12 +0000
  Re: Installation Successful, but pythonw and idle doesn't function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-06 00:09 +0200
    Re: Installation Successful, but pythonw and idle doesn't function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-06 00:14 +0200
    Re: Installation Successful, but pythonw and idle doesn't function Terry Reedy <tjreedy@udel.edu> - 2015-08-05 21:31 -0400
      Re: Installation Successful, but pythonw and idle doesn't function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-06 08:56 +0200

csiph-web