From pkoutroub at gmail.com Sun Nov 6 05:02:56 2022 From: pkoutroub at gmail.com (Pavlos Koutroubas) Date: Sun, 6 Nov 2022 12:02:56 +0200 Subject: [Idle-dev] Unable to save a python file Message-ID: Hello, I am trying to save a new file using the python idle, version 2.7.11, but the file remains untitled. I restart my laptop, but the problem persists Please suggest a solution Best regards Pavlos Koutroumpas -------------- next part -------------- An HTML attachment was scrubbed... URL: From rosemeer at yahoo.com.mx Mon Nov 7 04:08:00 2022 From: rosemeer at yahoo.com.mx (Rosa Maria) Date: Mon, 7 Nov 2022 09:08:00 +0000 (UTC) Subject: [Idle-dev] IDLE colors Failure References: <271011067.855391.1667812080927.ref@mail.yahoo.com> Message-ID: <271011067.855391.1667812080927@mail.yahoo.com> The Python IDLE change colors without warning, difficulting or cancelling the capability of reading. See the attached image. I must change the Highligting or close-open the IDLE. You can see that the result of the multiplication _*100 cannot be seen, this ocurrs very VERY often. In version 3.4.2 (used in my Windows-xp partitions I had no that problem). Data:Python and IDLE 3.7.3TK 8.6.932 bit system with Linux Mint Debian Edition-4 with intel Celeron. Thanks in advance and best regards. Rosa Mar?a. p.s.Why Python?When my programs in GW-BASIC cannot run in the newer systems (compiled in TurboBasic); I must choose a new language; Testing many including Ruby and Perl, but with Python was easier to translate my BASIC programs. I really miss the Matrix definition of BASIC (A#(N, M, 2)) for complex matrix (it allows up to 7 dimensions), in Python Matrix are really cumbersome. [[[0 for in range(n)] for in range(m)] for i in range(2)]. Most of my use is 4 number crunching 4 engineering, but I made a scritp to read and take data from .xml invoices in Mexico, that are mandatory. I used regex instead of .xml tree because the specification is WRONG, if an error ocurrs it sotps, and if it is in the first invoice that mess. With regex only the row of the exported .csv is wrong. I love Python, numpy and scipy. I use Octave 4 matrix calculations. Thanks. - "Que tengamos Sabidur?a para no temer a las Sombras de la Noche" - "Cu?date de la Ciencia que no Llora, de la Filosof?a que no R?e y de la Grandeza que no se inclina ante los ni?os" - "Madre es el nombre de dios en los labios y en los corazones de todos los ni?os" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Falla-Idle-Python_3.7.3 Type: application/octet-stream Size: 28337 bytes Desc: not available URL: From tjreedy at udel.edu Mon Nov 7 21:21:37 2022 From: tjreedy at udel.edu (Terry Reedy) Date: Mon, 7 Nov 2022 21:21:37 -0500 Subject: [Idle-dev] Unable to save a python file In-Reply-To: References: Message-ID: <587c9b9d-aab3-b6e1-e2ec-5d2d53aa9ec2@udel.edu> On 11/6/2022 5:02 AM, Pavlos Koutroubas wrote: > I am trying to save a new file using the python idle, version 2.7.11, > but the file remains untitled. I restart my laptop, but the problem persists > Please suggest a solution First, start IDLE from a command line terminal with python -m idlelib.idle Open a new editor window and try to save it with a new filename. Look in your file finder application and see if there is a new blank file with the name you gave. If not, you must fix the problem; it is not IDLE. Check your command-line terminal for an error message. If a file was saved, but the title of the IDLE editor did not change, you have a buggy version of IDLE. Upgrade at least to 2.7.18, if not to 3.10 or 3.11. -- Terry Jan Reedy From tjreedy at udel.edu Mon Nov 7 21:25:55 2022 From: tjreedy at udel.edu (Terry Reedy) Date: Mon, 7 Nov 2022 21:25:55 -0500 Subject: [Idle-dev] IDLE colors Failure In-Reply-To: <271011067.855391.1667812080927@mail.yahoo.com> References: <271011067.855391.1667812080927.ref@mail.yahoo.com> <271011067.855391.1667812080927@mail.yahoo.com> Message-ID: On 11/7/2022 4:08 AM, Rosa Maria via IDLE-dev wrote: > The Python IDLE change colors without warning, difficulting or > cancelling the capability of reading. See the attached image. I must > change the Highligting or close-open the IDLE. This is a text-only list, no images. > Data: > Python and IDLE 3.7.3 > TK 8.6.9 > 32 bit system with Linux Mint Debian Edition-4 with intel Celeron. I have not heard of such behavior before. Please upgrade your python at least to the latest version of python 3.7 available for your system. 3.10 or 3.11 would be much better. If you respond, please do so to the list only. -- Terry Jan Reedy From tjreedy at udel.edu Mon Nov 7 21:38:58 2022 From: tjreedy at udel.edu (Terry Reedy) Date: Mon, 7 Nov 2022 21:38:58 -0500 Subject: [Idle-dev] IDLE colors Failure In-Reply-To: <271011067.855391.1667812080927@mail.yahoo.com> References: <271011067.855391.1667812080927.ref@mail.yahoo.com> <271011067.855391.1667812080927@mail.yahoo.com> Message-ID: Followup. On 11/7/2022 4:08 AM, Rosa Maria via IDLE-dev wrote: > The Python IDLE change colors without warning, difficulting or > cancelling the capability of reading. See the attached image. I found the image and was able to view it after changing the name to end in .jpg. What I see is the underscore of W in Window, but no 'Window'. Idle has no control over the title bar. This suggests a problem with the tcl/tk GUI framework. tkinter > I must > change the Highligting or close-open the IDLE. > You can see that the result of the multiplication _*100 cannot be seen, I presume you are claiming that the foreground color of the answer and of the cursor were changed to match the background. I cannot tell if this is true from the image. Perhaps the remove process is stuck in a loop. My advice to upgrade still stands. -- Terry Jan Reedy From tjreedy at udel.edu Mon Nov 7 21:47:59 2022 From: tjreedy at udel.edu (Terry Reedy) Date: Mon, 7 Nov 2022 21:47:59 -0500 Subject: [Idle-dev] Running a script in IDLE (was no subject) In-Reply-To: References: Message-ID: On 9/6/2022 2:20 PM, Vektoriuxx wrote: > Hello. I just got a little problem. Answer me please, how can I run > script in app named IDLE? With rare exceptions, one should not run a script in IDLE unless one want to edit it. For the latter, read the IDLE doc, available online or from the IDLE Help menu. -- Terry Jan Reedy From kevindudeja97 at gmail.com Mon Nov 21 04:46:41 2022 From: kevindudeja97 at gmail.com (Kevin Dudeja) Date: Mon, 21 Nov 2022 15:16:41 +0530 Subject: [Idle-dev] =?utf-8?q?Typos_in_About_IDLE_-_Readme_=F0=9F=91=80?= Message-ID: Dear Sir/Ma'am, I found several typos in the README documents of the IDLE in the About IDLE window. Help --> About IDLE --> Under IDLE version: 3.10.7 --> README I have listed all the typos I found: 1. Section: IMPLEMENTATION --> configSectionNameDialog.py # *Spefify* user config section name 2. Section: Configuration --> config-main.def # *Defai;ts fpr font and geneal* 3. Section: Text --> README.txt # this file, *displeyed* by About IDLE 4. Section: IDLE MENU --> File # *IOBindig* except as noted New File ... --> Options Configure IDLE # configDialog (tabs in the dialog) Font tab # *onfig-main.def* Highlight tab # configSectionNameDialog, config-highlight.def Keys tab # keybindingDialog, configSectionNameDialog, *onfig-keus.def* Thanks and best regards, Kevin Dudeja kevindudeja (@kevindudeja) / Twitter -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjreedy at udel.edu Thu Nov 24 00:36:19 2022 From: tjreedy at udel.edu (Terry Reedy) Date: Thu, 24 Nov 2022 00:36:19 -0500 Subject: [Idle-dev] =?utf-8?q?Typos_in_About_IDLE_-_Readme_=F0=9F=91=80?= In-Reply-To: References: Message-ID: On 11/21/2022 4:46 AM, Kevin Dudeja wrote: > I found several typos in the README documents of the IDLE in the About > IDLE window. AFAIK, these were all fixed 3 to 6 years ago and none are in current releases. > Help --> About IDLE --> Under IDLE version: 3.10.7 --> README 3.10.7, just months old, does not seem right an you have things fixed 6 years ago. Did you mis-type the version? Where did you install Python and IDLE from? (Please respond to the list, not me.) > I have listed all the typos I found: > 1. Section: IMPLEMENTATION > --> configSectionNameDialog.py? # _Spefify_ user config section name This file was renamed in May 2016 https://hg.python.org/cpython/rev/20bd4c23cfe4 and removed, along with the typo, in July 2016 https://hg.python.org/cpython/rev/78a3d3700233 > 2. Section: Configuration > -->?config-main.def? ? ? ?# _Defai;ts fpr font and geneal_ https://github.com/python/cpython/pull/17770/files Dec 2019 > 3. Section: Text > -->?README.txt? ?# this file, _displeyed_ by About IDLE https://github.com/python/cpython/pull/15029/files July 2019 > 4. Section: IDLE MENU > --> File? # _IOBindig_ except as noted > --> Options > ? Configure IDLE? # configDialog > ? ? (tabs in the dialog) > ? ? Font tab? # _onfig-main.def_ > ? ? Highlight tab? # configSectionNameDialog, config-highlight.def > ? ? Keys tab? # keybindingDialog, configSectionNameDialog, _onfig-keus.def_ https://hg.python.org/cpython/rev/20bd4c23cfe4 May 2016 -- Terry Jan Reedy From tjreedy at udel.edu Thu Nov 24 00:42:32 2022 From: tjreedy at udel.edu (Terry Reedy) Date: Thu, 24 Nov 2022 00:42:32 -0500 Subject: [Idle-dev] =?utf-8?q?Typos_in_About_IDLE_-_Readme_=F0=9F=91=80?= In-Reply-To: References: Message-ID: <5823e842-1466-6e76-3066-d5cc5f9b6d81@udel.edu> To add to my previous response, current CPython files are online. Idlelib files are at https://github.com/python/cpython/tree/main/Lib/idlelib Typos can be checked there is one does not have a local clone of the repository. -- Terry Jan Reedy From tjreedy at udel.edu Thu Nov 24 07:41:35 2022 From: tjreedy at udel.edu (Terry Reedy) Date: Thu, 24 Nov 2022 07:41:35 -0500 Subject: [Idle-dev] =?utf-8?q?Typos_in_About_IDLE_-_Readme_=F0=9F=91=80?= In-Reply-To: References: Message-ID: On 11/24/2022 12:36 AM, Terry Reedy wrote: > On 11/21/2022 4:46 AM, Kevin Dudeja wrote: > >> I found several typos in the README documents of the IDLE in the About >> IDLE window. > > AFAIK, these were all fixed 3 to 6 years ago and none are in current > releases. > >> Help --> About IDLE --> Under IDLE version: 3.10.7 --> README > > 3.10.7, just months old, does not seem right an you have things fixed 6 > years ago. Did you mis-type the version?? Where did you install Python > and IDLE from?? (Please respond to the list, not me.) > >> I have listed all the typos I found: >> 1. Section: IMPLEMENTATION >> --> configSectionNameDialog.py? # _Spefify_ user config section name > > This file was renamed in May 2016 > https://hg.python.org/cpython/rev/20bd4c23cfe4 > and removed, along with the typo, in July 2016 > https://hg.python.org/cpython/rev/78a3d3700233 > >> 2. Section: Configuration >> -->?config-main.def? ? ? ?# _Defai;ts fpr font and geneal_ > > https://github.com/python/cpython/pull/17770/files Dec 2019 > >> 3. Section: Text >> -->?README.txt? ?# this file, _displeyed_ by About IDLE > > https://github.com/python/cpython/pull/15029/files July 2019 > >> 4. Section: IDLE MENU >> --> File? # _IOBindig_ except as noted > >> --> Options >> ?? Configure IDLE? # configDialog >> ?? ? (tabs in the dialog) >> ?? ? Font tab? # _onfig-main.def_ >> ?? ? Highlight tab? # configSectionNameDialog, config-highlight.def >> ?? ? Keys tab? # keybindingDialog, configSectionNameDialog, >> _onfig-keus.def_ > > https://hg.python.org/cpython/rev/20bd4c23cfe4 May 2016 Kevin replied privately "I have checked and verified that the typos are not in the IDLE Shell but in the IDLEX shell. I have the IDLEX installed and was using the IDLEX Shell for python version 3.10.7. The IDLEX is a fork from Python 3.5 branch, hence the issue." -- Terry Jan Reedy