Button placement

2021-03-08 Thread Bischoop
I try for a while place the top button in a a middle of column=0 with span to column2 below so the button being centered to those, tried with canvas as well but with no success. Is someone with Tkinter experience able to advice what I could do? from tkinter import * from tkinter import ttk root

RE: python curses constant names for mouse wheel movements?

2021-03-08 Thread pjfarley3
I am replying to my own message due to the digest not appearing in my inbox yet today. I will add Alan Gould's responses and my reply to him manually. alan.gauld at yahoo.co.uk wrote: > > Where can I find any documentation of the correct curses constant name(s) to > > use for detecting a "wheel

Re: Please don't feed the trolls

2021-03-08 Thread Grant Edwards
On 2021-03-08, D'Arcy Cain wrote: > On 2021-03-06 4:24 p.m., Terry Reedy wrote: >> Trolling, among other things, is fishing with a moving line, especially >> with a revolving lure, as from a moving boat.  A troll, among other >> things, is that method or the lure used. > > You are confusing "tro

Re: Please don't feed the trolls

2021-03-08 Thread Chris Angelico
On Tue, Mar 9, 2021 at 8:31 AM D'Arcy Cain wrote: > > On 2021-03-06 4:24 p.m., Terry Reedy wrote: > > Trolling, among other things, is fishing with a moving line, especially > > with a revolving lure, as from a moving boat. A troll, among other > > things, is that method or the lure used. > > You

Re: Please don't feed the trolls

2021-03-08 Thread D'Arcy Cain
On 2021-03-06 4:24 p.m., Terry Reedy wrote: Trolling, among other things, is fishing with a moving line, especially with a revolving lure, as from a moving boat.  A troll, among other things, is that method or the lure used. You are confusing "troll" with "trawl" -- D'Arcy J.M. Cain Vybe Netw

Re: editor recommendations?

2021-03-08 Thread Russell
Cameron Simpson wrote: >>-- Emacs outshines all other editing software in approximately the same >>way that the noonday sun does the stars. It is not just bigger and >>brighter; it simply makes everything else vanish. ??? Neal Stephenson Neal Stephenson's book Cryptonomicon was the reason I be

Re: How to implement logging for an imported module?

2021-03-08 Thread Richard Damon
On 3/8/21 4:16 AM, Robert Latest via Python-list wrote: > Joseph L. Casale wrote: >>> I couldn't find any information on how to implement logging in a library >>> that >>> doesn't know the name of the application that uses it. How is that done? >> That's not how it works, it is the opposite. You n

Re: Choosable dependency

2021-03-08 Thread Manfred Lotz
On Sun, 7 Mar 2021 20:38:30 -0800 Dan Stromberg wrote: > I sometimes do things like: > > try: > import rtoml as toml > except ImportError: > import toml > Also a possibility. Thanks. > ...but I don't like it very much, because it tends to confuse static > analyzers like pyflakes and p

Re: Choosable dependency

2021-03-08 Thread Thomas Jollans
On 06/03/2021 12:00, Manfred Lotz wrote: Let us say I have a package which reads a TOML file. I want to give the user of my package the choice to decide if he wants to use the toml, tomlkit or rtoml package. So, in case the user chose to use rtoml then there should be an import only for rtoml,

Re: editor recommendations?

2021-03-08 Thread Chris Green
Cameron Simpson wrote: > On 03Mar2021 10:00, Lele Gaifax wrote: > >Cameron Simpson writes: > >> My fingers know vim. Some others' fingers know emacs. > > > >Emacs has also an Evil[1] mode, that mimics some vi/vim features. > > Whenever I've tries emulate-vi modes they tend to lack some coner ca

Re: How to implement logging for an imported module?

2021-03-08 Thread Robert Latest via Python-list
Joseph L. Casale wrote: >> I couldn't find any information on how to implement logging in a library that >> doesn't know the name of the application that uses it. How is that done? > > That's not how it works, it is the opposite. You need to know the name of its > logger, and since you imported it,

gTTS in python

2021-03-08 Thread tommy yama
Hi, Anyone might be familiar with gTTS ? https://pypi.org/project/gTTS/ Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Re: neonumeric - C++ arbitrary precision arithmetic library

2021-03-08 Thread Mirko via Python-list
Am 07.03.2021 um 21:52 schrieb Avi Gross via Python-list: > The precedence example used below made a strange assumption that the > imaginary program would not be told up-front what computer language it was > being asked to convert from. That is not the scenario being discussed as we > have describe