Affichage des articles dont le libellé est exisiting. Afficher tous les articles
Affichage des articles dont le libellé est exisiting. Afficher tous les articles

jeudi 30 janvier 2014

Re: Python shell wont open IDLE or an exisiting .py files topic




On 1/29/2014 11:16 PM, Ben Finney wrote:
> Terry Reedy <(E-Mail Removed)> writes:
>
>> On 1/29/2014 6:26 PM, (E-Mail Removed) wrote:
>>> > If I launch the Python GUI it opens a Python Shell fine. But as
>>> > soon as I try to open a file (including a "new" file), it closes
>>> > the Shell.

>>
>> This I do not. What is 'Python GUI'? What is 'Python Shell'?

>
> Those are (part of) the names of menu entries created by the Python
> installer for MS Windows. I am not sure exactly what programs they
> invoke.


One entry is 'IDLE (Python GUI)'. I have never seen Idle referred to as
'Python GUI' as the later is non-specific and could refer to wxpython or
pyqt or some other Python GUI.

Idle open a window called Python x.y.z Shell (until recently just Shell).

The other menu entry is 'Python (Command line)' and I am guessing that
the paragraph above has nothing to do with this entry.

--
Terry Jan Reedy






mercredi 29 janvier 2014

Re: Python shell wont open IDLE or an exisiting .py files topic




On 1/29/2014 6:26 PM, (E-Mail Removed) wrote:
> I am on Windows 8, Python 3.3.4 and 3.3.3 and all previous versions
> exhibit the same problem on my Windows 8 PC. This problem occurred out
> of nowhere overnight. It was working fine for months until today.


Try the following, which I believe I said before.

1. Start the normal console interpreter 'Python (command interpreter)'
in the Start Menu.
2. In the interpreter, type
>>> import idlelib.idle

3. Open a file. If Idle quits,
4. If Idle quits, look in the console for an exception message.
5. If you do not understand it, *copy and paste the entire message* here.
6. If the Python console also closes, report here.


> > I tried to open a file and nothing happened. If I tried to open a

> .py file
> > (any .py file) from an existing instance of IDLE, it briefly flashed up a
> > new window and then closed both the new window and the existing window
> > (normally it opens the requested in a new window leaving the existing

> window
> > untouched).


This much I understood.

> > If I launch the Python GUI it opens a Python Shell fine. But as soon as I
> > try to open a file (including a "new" file), it closes the Shell.


This I do not. What is 'Python GUI'? What is 'Python Shell'?


> > I rebooted the machine. Same problem.
> >
> > I repaired the Python installation and rebooted. Same problem.
> >
> > I uninstalled Python. Rebooted. Deleted the Python33 directory entirely.
> > Rebooted. Installed Python. Rebooted. Same problem.
> >
> > Everything else on the system appears to be working just fine.
> >
> > Any ideas what the problem might be or how else I might go about fixing
> > things?

>
>
>
> Sent from Windows Mail
>
>
>



--
Terry Jan Reedy