[issue41968] 3.9 IDLE documentation.

2020-10-07 Thread Velson Horie


New submission from Velson Horie :

https://docs.python.org/3/library/idle.html
I am trying to sort out why a new installation of 3.9 onto Win10 64bit fails to 
associate a .py file type with IDLE. {hint - there is no idle.exe. installed - 
Why?}. 2.7, 3.6 and 3.8 worked fine.
The documentation gives no indication of the source format of "IDLE", where it 
might be found, what it calls etc - only how it is used.
Some indication/link to the underlying software structure should be included in 
the documentation.
PS thank you for all the other work involved.

--
assignee: docs@python
components: Documentation
messages: 378161
nosy: c.v.horie, docs@python
priority: normal
severity: normal
status: open
title: 3.9 IDLE documentation.
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue41968>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41968] 3.9 IDLE documentation.

2020-10-08 Thread Velson Horie


Velson Horie  added the comment:

As Terry said, the issue of Idle not starting by a .py file association was
raised in another thread. That parenthesis was mentioned to give context to
the documentation enquiry.  In my new 3.9 installation, I could find
idle.bat, but I had just been told by the Microsoft help engineer that it
was possible to make an association with a file type only by pointing to an
.exe file.  (I could find idle.exe in a 3.8 installation on a different
computer, buried deep in hidden AppData folders.)

This post was specifically about the documentation.  One of the
difficulties of a Python installation is that it is really difficult to
find where and how all the many and various strands of Python interact, how
the sources are linked into a structure [I grew up pre-Windows with
MS-DOS]. I was trying to find where the idle.exe was placed in the
installation, since Windows requires (apparently) an explicitly stated
folder/application.

So I went to the IDLE documentation page to find how IDLE was implemented
as a program, and how I might find "it", and where "it" was placed in the
folder structure in my new installation.
But those mechanics are not mentioned on that page.
So-  my post on documentation.

I apologise for the confusion.  However in the past, I had a similar
experience loading anaconda etc, where the files disappeared without trace
onto a hard drive. So I deleted the package (as best I can) because I don't
know what is happening.

On Thu, 8 Oct 2020 at 01:07, Terry J. Reedy  wrote:

>
> Terry J. Reedy  added the comment:
>
> I agree that the doc needs more, but I am closing this as a duplicate of
> #31329, which is specifically doc about starting IDLE.  You can still
> answer Paine's questions here if you want.
>
> File association: IDLE is not Python.  It is one of many Python-oriented
> editors and IDEs.  .py files are and by default should be associated for
> running with something that runs the file with python.exe.  On Windows,
> this is done via C:/Windows/py.exe.  The default version for double
> clicking is determined by a checkmark in the installer.
>
> The Windows installer does associate .py files with IDLE for editing: rt
> click, edit with IDLE 
>
> idle.exe is not needed for starting idle.
>
> I don't know what you mean by 'source format'.  IDLE is written in
> Python.  The directory structure is mostly implementation detail not
> relevant to using IDLE.  File are described in idlelib/README.txt.  This
> might be mentioned in the doc.
>
> --
> resolution:  -> duplicate
> stage:  -> resolved
> status: open -> closed
> superseder:  -> Add idlelib module entry to doc
> type:  -> enhancement
> versions: +Python 3.10 -Python 3.9
>
> ___
> Python tracker 
> <https://bugs.python.org/issue41968>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue41968>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41968] 3.9 IDLE documentation.

2020-10-08 Thread Velson Horie


Velson Horie  added the comment:

Paine: thank you for your offer to sort the problem out.
See my answer to Terry for a  further introduction to the situation.

My laptop's operating system Win10 64 bit was mashed by Windows update
1909. I deleted 3.6, loaded 3.8 (but that didn't work because the system
had been converted from 64 to 32 bit). Deleted 3.8, installed update 2004,
then 3.9.  I then tried to run my (simple and small) .py code by double
clicking, and that failed.  So I tried to associate the .py files with any
of the various python options presented by Windows - didn't work. I then
found buried in the folder structure a copy of idle.bat so I made the
association. That didn't work.  Meanwhile the option to edit with IDLE,
which I noticed early on but which did not appear in "open with" options,
had disappeared.  So I asked the Microsoft help chat.  Who said that
idle.bat would not work anyway.  I tried to copy idle.exe from my desktop
(3.8) to my laptop (3.9). but no luck.
I was stuck, so raised my query on the topic of idle.exe.

I have installed 3.9 for all users and clicking the PATH box, and on
C:\Program Files\Python39, which is declared on the environmental variable
list.

I had gone to the documentation page to sort the problem myself, but that
provided no relevant help, so raised the query about that page.

You have made clear that it is not really a Python issue, but my initial
mistake with Windows.
Have you any idea how I might undo the various wrong associations to get
back to the "edit with IDLE option" - reinstall 3.9?.  If not, I shall have
another go with Microsoft help.

Thank you

On Wed, 7 Oct 2020 at 18:20, E. Paine  wrote:

>
> E. Paine  added the comment:
>
> I am not touching the issue nosy and components for now but suspect this
> is a Windows installation issue. As you said, there is no `idle.exe` file
> and instead file association is done through a `idle.bat` file found at
> Lib/idlelib/idle.bat. I have a few of questions that I would appreciate if
> you could answer to give some more context:
>  - What behaviour is incorrect? Is it that double clicking doesn't launch
> python.exe or there is no "edit with IDLE" entry in the right-click menu?
>  - Did you install it for different users compared to the other versions
> (all users / admin vs. just for this user)
>  - Do you have any other Python versions installed simultaneously with 3.9?
>
> I agree it may be nice to give a brief overview on IDLE's
> "behind-the-scenes" though I am slightly confused why you raised this issue
> as a documentation issue.
>
> --
> nosy: +epaine
>
> ___
> Python tracker 
> <https://bugs.python.org/issue41968>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue41968>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com