Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-11-01 Thread Greg Ewing
On 1/11/20 5:43 pm, Michael Torrie wrote: In C# world, WinForms is often used, but it's not "native" win32 widgets. Widgets are implemented in managed code (according to Wikipedia) that draw themselves using the theming dll so they look native, or at least look somewhat consistent with regards t

Re: Find word by given characters

2020-11-01 Thread duncan smith
On 01/11/2020 13:38, Bischoop wrote: > On 2020-11-01, Bischoop wrote: >> I'm working on a script i which user inputs letters and then a printed >> words containing those letters. The scripts works however I can't solve >> one problem , it prints also words in which these letters occur more >> tha

Re: Best way to determine user's screensize?

2020-11-01 Thread songbird
Mats Wichmann wrote: > On 10/30/20 6:47 PM, songbird wrote: ... >> do you object to a window being put in the approximate >> center of the screen? > > Absolutely! I'm fighting that on a system which, after an update, > insists on opening new terminal windows centered - some recent policy > chang

Re: Best way to determine user's screensize?

2020-11-01 Thread songbird
Grant Edwards wrote: > On 2020-10-31, songbird wrote: ... >> do you object to a window being put in the approximate >> center of the screen? > > YES. I've configured my window manager so windows start up where I > want them to start up. It's none of the application's business where > it's window i

Extending collections.Counter with top_n() to return elements by rank

2020-11-01 Thread Bora
collections.Counter has most_common([n]) method which returns the most common n elements of the counter, but in case of a tie the result is unspecified --- whereas in practice the order of insertion breaks the tie. For example: >>> Counter(["a","a","b","a","b","c","c","d"]).most_common(2)

Re: Find word by given characters

2020-11-01 Thread Bischoop
On 2020-11-01, Bischoop wrote: > I'm working on a script i which user inputs letters and then a printed > words containing those letters. The scripts works however I can't solve > one problem , it prints also words in which these letters occur more > than once. > --- > Fore exampl