Re: Tkinter long-running window freezes

2021-02-26 Thread MRAB
On 2021-02-27 02:38, John O'Hagan wrote: On Sat, 27 Feb 2021 01:06:06 + MRAB wrote: On 2021-02-26 23:59, John O'Hagan wrote: > On Fri, 26 Feb 2021 08:19:14 +0100 > Christian Gollwitzer wrote: > >> Am 26.02.21 um 06:15 schrieb John O'Hagan: > [...] >> > >> > I've followed your sugg

Re: Tkinter long-running window freezes

2021-02-26 Thread John O'Hagan
On Sat, 27 Feb 2021 10:59:24 +1100 John O'Hagan wrote: > On Fri, 26 Feb 2021 08:19:14 +0100 > Christian Gollwitzer wrote: [...] > > > Can you also check this program, which reuses the same widget path > > name, albeit does the creation/destruction in cycles: > > > > == > >

Re: Tkinter long-running window freezes

2021-02-26 Thread John O'Hagan
On Sat, 27 Feb 2021 01:06:06 + MRAB wrote: > On 2021-02-26 23:59, John O'Hagan wrote: > > On Fri, 26 Feb 2021 08:19:14 +0100 > > Christian Gollwitzer wrote: > > > >> Am 26.02.21 um 06:15 schrieb John O'Hagan: > > [...] > >> > > >> > I've followed your suggestions as per my last post,

Re: editor recommendations?

2021-02-26 Thread Bob van der Poel
On Fri, Feb 26, 2021 at 11:24 AM Grant Edwards wrote: > On 2021-02-26, Rich Shepard wrote: > > > Long ago someone wrote that Emacs is an operating system that includes > the > > kitchen sink. A friend of mine working for Sharp Electronics did all his > > work in Emacs, including email and web br

Re: editor recommendations?

2021-02-26 Thread Grant Edwards
On 2021-02-26, Rich Shepard wrote: > Long ago someone wrote that Emacs is an operating system that includes the > kitchen sink. A friend of mine working for Sharp Electronics did all his > work in Emacs, including email and web browsing (back when a text-based > browser was sufficient.) Yep, I w

Re: Where is the problem?

2021-02-26 Thread Cousin Stanley
RD wrote: > Python 3.4.3 on WinXP. > > I create a Tk canvas and draw on it with create_text(), > create_line(), and create_polygon with fill and stipple. > > So far, so good, looks fine on the screen. > > So I go to send it to a postsctript file: > > bmap.postscript(file="tmp.ps", colormode='c

Re: Tkinter long-running window freezes

2021-02-26 Thread MRAB
On 2021-02-26 23:59, John O'Hagan wrote: On Fri, 26 Feb 2021 08:19:14 +0100 Christian Gollwitzer wrote: Am 26.02.21 um 06:15 schrieb John O'Hagan: [...] > > I've followed your suggestions as per my last post, and can confirm > the same freezing behaviour when running your code directly as a

Re: editor recommendations?

2021-02-26 Thread Marco Sulla
I use Sublime free for simple tasks. I like the fact it's fast and it saves to disk immediately. You don't have even to name the file. I use it also for taking notes. Probably not as powerful as Vim and it's proprietary. For development, I use PyCharm, but it's an IDE. I also used in past: gedit:

Re: Tkinter long-running window freezes

2021-02-26 Thread John O'Hagan
On Fri, 26 Feb 2021 08:19:14 +0100 Christian Gollwitzer wrote: > Am 26.02.21 um 06:15 schrieb John O'Hagan: [...] > > > > I've followed your suggestions as per my last post, and can confirm > > the same freezing behaviour when running your code directly as a > > tclsh script on Debian Testing, T

Re: error of opening Python

2021-02-26 Thread Mladen Gogala via Python-list
On Fri, 26 Feb 2021 02:23:51 -0500, Terry Reedy wrote: > Not on Windows. Please don't spew misleading garbage that will only > confuse the new user on a different operating system. > You are right, I apologize. I sort of like poking fun at the Winduhs users but this is not the right place.

Re: Tkinter needed as a legacy version 2.7 imports the module...

2021-02-26 Thread MRAB
On 2021-02-26 22:23, Kevin M. Wilson via Python-list wrote: Hey Community,    Is there a site where I might/can download a version of Tkinter for Python 2.7? Tkinter as already included in Python 2.7. -- https://mail.python.org/mailman/listinfo/python-list

Re: editor recommendations?

2021-02-26 Thread inhahe
My editor of choice is Komodo IDE, which used to be commercialware but is free now. I'm pretty sure it has dark modes, but I haven't used them. I just thought I'd mention it because it's a good, solid IDE but I never see anybody mention it, e.g. in lists of Python editors and such.. On Fri, Feb 26

Tkinter needed as a legacy version 2.7 imports the module...

2021-02-26 Thread Kevin M. Wilson via Python-list
Hey Community,    Is there a site where I might/can download a version of Tkinter for Python 2.7? Seriously, KMW John 1:4  "In him was life; and the life was the light of men." -- https://mail.python.org/mailman/listinfo/python-list

Re: editor recommendations?

2021-02-26 Thread Thomas Jollans
On 26/02/2021 15:51, Ethan Furman wrote: > > So, what's the state-of-the-art with regards to editors supporting > dark color themes? You’re in luck, “Dark Mode” is very much en vogue these days. Most modern programmer's editors (meaning editors that think of themselves as modern) are either dark b

Re: editor recommendations?

2021-02-26 Thread Cameron Simpson
On 26Feb2021 06:51, Ethan Furman wrote: >I'm looking for an editor to use for Python programming, as well as related >incidentals such as markdown files, restructured text, etc. > >I'm currently using vim, and the primary reason I've stuck with it for so long >is because I can get truly black sc

Re: python 2.6: Need some advise for installing modules on a legacy system

2021-02-26 Thread Thomas Jollans
On 24/02/2021 14:13, Antoon Pardon wrote: > I need to do some development on this legacy system. It only runs > python2.6 and there is little hope of installing an other version. How > can I best proceed to install modules for working with mysql and ldap? > The answer very much depends on the oper

Re: editor recommendations?

2021-02-26 Thread Mats Wichmann
On 2/26/21 7:51 AM, Ethan Furman wrote: I'm looking for an editor to use for Python programming, as well as related incidentals such as markdown files, restructured text, etc. I'm currently using vim, and the primary reason I've stuck with it for so long is because I can get truly black screen

Re: editor recommendations?

2021-02-26 Thread MRAB
On 2021-02-26 14:51, Ethan Furman wrote: I'm looking for an editor to use for Python programming, as well as related incidentals such as markdown files, restructured text, etc. I'm currently using vim, and the primary reason I've stuck with it for so long is because I can get truly black scree

Re: editor recommendations?

2021-02-26 Thread J. Pic
On Fri, Feb 26, 2021 at 5:24 PM Rich Shepard wrote: > Perhaps he didn't but he should know that by opening a shell within emacs > he > can run his python code there. > :term in vim -- ∞ -- https://mail.python.org/mailman/listinfo/python-list

Re: editor recommendations?

2021-02-26 Thread Dan Stromberg
On Fri, Feb 26, 2021 at 6:51 AM Ethan Furman wrote: > I'm looking for an editor to use for Python programming, as well as > related incidentals such as markdown files, restructured text, etc. > > I'm currently using vim, and the primary reason I've stuck with it for so > long is because I can get

Re: editor recommendations?

2021-02-26 Thread Rich Shepard
On Fri, 26 Feb 2021, 2qdxy4rzwzuui...@potatochowder.com wrote: That's what my emacs looks like, minus the light-grey frame (the window manager's frame and border are enough for me). Emacs has themes now, but my setup is very old; all I did was set the "base" text background and foreground colors

Re: editor recommendations?

2021-02-26 Thread 2QdxY4RzWzUUiLuE
On 2021-02-26 at 06:51:02 -0800, Ethan Furman wrote: > [...] vim [...] truly black screens with it. By which I mean that I > have a colorful window title bar, a light-grey menu bar, and then a > light-grey frame around the text-editing window (aka the only window), > and a nice, black-background

editor recommendations?

2021-02-26 Thread Ethan Furman
I'm looking for an editor to use for Python programming, as well as related incidentals such as markdown files, restructured text, etc. I'm currently using vim, and the primary reason I've stuck with it for so long is because I can get truly black screens with it. By which I mean that I have

Re: name for a mutually inclusive relationship

2021-02-26 Thread Alan Gauld via Python-list
On 26/02/2021 04:30, Ethan Furman wrote: >> Do you have a specific problem you're trying to solve? > > No, I just came across the concept in my browsing and > was wondering if there was a name for it. If we stick with boolean values (like radio buttons and checkboxes) then I think the name is

Re: error of opening Python

2021-02-26 Thread Terry Reedy
On 2/26/2021 12:55 AM, Mladen Gogala via Python-list wrote: On Thu, 25 Feb 2021 17:22:35 +, Botao Liu wrote: Dear Python team, This is my first time using Python, I tried to launch Python and it showed "Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)] o

Re: name for a mutually inclusive relationship

2021-02-26 Thread Antoon Pardon
Op 24/02/21 om 17:12 schreef Ethan Furman: I'm looking for a name for a group of options that, when one is specified, all of them must be specified. It seems you are looking at an equivalence. -- https://mail.python.org/mailman/listinfo/python-list