On 2021-01-13 at 21:41:26 -0600,
Python wrote:
> On Thu, Jan 14, 2021 at 12:27:19PM +1100, Chris Angelico wrote:
> > On Thu, Jan 14, 2021 at 12:11 PM Python wrote:
> > >
> > > On Tue, Jan 12, 2021 at 06:43:39PM -, Grant Edwards wrote:
> > > > And those X11 users will swear at you if you over
On Thu, Jan 14, 2021 at 03:02:05PM +1100, Chris Angelico wrote:
> On Thu, Jan 14, 2021 at 2:43 PM Python wrote:
> > > it is far FAR better to put control in the user's hands
> >
> > I love how you dismissed that the semantics I described gives MORE
> > control to the user, not less, without actual
On 2021-01-13 18:20, Dan Stromberg wrote:
> I'm kind of partial to:
>
> import collections
> import typing
>
>
> def get_longest(string: str) -> typing.Tuple[int, str]:
> """Get the longest run of a single consecutive character."""
> dict_: typing.DefaultDict[str, int] =
> collections.de
On Thu, Jan 14, 2021 at 2:43 PM Python wrote:
> > it is far FAR better to put control in the user's hands
>
> I love how you dismissed that the semantics I described gives MORE
> control to the user, not less, without actually sacrificing anything.
Actually, you give control to the application, a
Hi, David,
On Wed, Jan 13, 2021 at 9:24 PM David L Neil via Python-list
wrote:
>
> On 14/01/2021 15.25, boB Stepp wrote:
> > On Wed, Jan 13, 2021 at 7:28 PM Chris Angelico wrote:
> >
> >> I love how "I think" is allowed to trump decades of usability research.
>
> I'm just pleased that @Chris has
On Thu, Jan 14, 2021 at 12:27:19PM +1100, Chris Angelico wrote:
> On Thu, Jan 14, 2021 at 12:11 PM Python wrote:
> >
> > On Tue, Jan 12, 2021 at 06:43:39PM -, Grant Edwards wrote:
> > > And those X11 users will swear at you if you override their window
> > > managers configured window placemen
Chris,
On Wed, Jan 13, 2021 at 8:12 PM Chris Angelico wrote:
>
> On Thu, Jan 14, 2021 at 1:05 PM Igor Korot wrote:
> >
> > Chris,
> >
> > On Wed, Jan 13, 2021 at 7:45 PM Chris Angelico wrote:
> > >
> > > On Thu, Jan 14, 2021 at 12:39 PM Igor Korot wrote:
> > > >
> > > > Chris,
> > > >
> > > >
On 14/01/2021 15.25, boB Stepp wrote:
> On Wed, Jan 13, 2021 at 7:28 PM Chris Angelico wrote:
>
>> I love how "I think" is allowed to trump decades of usability research.
I'm just pleased that @Chris has found love!
(not detracting from the point though)
> Can you recommend a good reference fo
On 14/01/2021 15.25, boB Stepp wrote:
> On Wed, Jan 13, 2021 at 7:28 PM Chris Angelico wrote:
>
>> I love how "I think" is allowed to trump decades of usability research.
I'm just pleased that @Chris has found love!
(not detracting from the point though)
> Can you recommend a good reference fo
On Wed, Jan 13, 2021 at 7:28 PM Chris Angelico wrote:
> I love how "I think" is allowed to trump decades of usability research.
Can you recommend a good reference for someone relatively new to GUI
programming that is based on such research? Book or web reference
would be fine.
Cheers!
boB
--
On Wed, Jan 13, 2021 at 5:59 PM Tim Chase
wrote:
> On 2021-01-13 21:20, Bischoop wrote:
> > I want to to display a number or an alphabet which appears mostly
> > consecutive in a given string or numbers or both
> > Examples
> > s= ' aabskaaabad'
> > output: c
> > # c appears 4 consecutive ti
On Thu, Jan 14, 2021 at 1:05 PM Igor Korot wrote:
>
> Chris,
>
> On Wed, Jan 13, 2021 at 7:45 PM Chris Angelico wrote:
> >
> > On Thu, Jan 14, 2021 at 12:39 PM Igor Korot wrote:
> > >
> > > Chris,
> > >
> > > On Wed, Jan 13, 2021 at 7:33 PM Chris Angelico wrote:
> > > >
> > > > On Thu, Jan 14,
Chris,
On Wed, Jan 13, 2021 at 7:45 PM Chris Angelico wrote:
>
> On Thu, Jan 14, 2021 at 12:39 PM Igor Korot wrote:
> >
> > Chris,
> >
> > On Wed, Jan 13, 2021 at 7:33 PM Chris Angelico wrote:
> > >
> > > On Thu, Jan 14, 2021 at 12:18 PM Python wrote:
> > > > > The results will differ based on
On 2021-01-13 21:20, Bischoop wrote:
> I want to to display a number or an alphabet which appears mostly
> consecutive in a given string or numbers or both
> Examples
> s= ' aabskaaabad'
> output: c
> # c appears 4 consecutive times
> 8bbakebaoa
> output: b
> #b appears 2 consecutive times
I
On 14/01/21 1:58 pm, Chris Angelico wrote:
On Thu, Jan 14, 2021 at 11:53 AM Python wrote:
I believe it is or was quite common
for large, integrated applications like DAWs, graphical design
software, etc. to remember where you placed your various floating
toolbars and add-ons
Not just large,
On Thu, Jan 14, 2021 at 12:39 PM Igor Korot wrote:
>
> Chris,
>
> On Wed, Jan 13, 2021 at 7:33 PM Chris Angelico wrote:
> >
> > On Thu, Jan 14, 2021 at 12:18 PM Python wrote:
> > > > The results will differ based on whether the user in question has
> > > > basically just one primary application
Chris,
On Wed, Jan 13, 2021 at 7:33 PM Chris Angelico wrote:
>
> On Thu, Jan 14, 2021 at 12:18 PM Python wrote:
> > > The results will differ based on whether the user in question has
> > > basically just one primary application (an IDE, or some gigantic app
> > > like Adobe PhotoShop) that they
On Thu, Jan 14, 2021 at 12:18 PM Python wrote:
> > The results will differ based on whether the user in question has
> > basically just one primary application (an IDE, or some gigantic app
> > like Adobe PhotoShop) that they spend all their time in
>
> OK, so you admit that such apps do exist. B
Hi,
On Wed, Jan 13, 2021 at 7:20 PM Python wrote:
>
> On Thu, Jan 14, 2021 at 11:58:34AM +1100, Chris Angelico wrote:
> > On Thu, Jan 14, 2021 at 11:53 AM Python wrote:
> > Have you actually done any research by (a) asking people what they
> > actually prefer, and better still (b) silently watch
On Thu, Jan 14, 2021 at 12:11 PM Python wrote:
>
> On Tue, Jan 12, 2021 at 06:43:39PM -, Grant Edwards wrote:
> > And those X11 users will swear at you if you override their window
> > managers configured window placement. Application code should not care
> > about or try to control window geo
Hi,
On Wed, Jan 13, 2021 at 7:12 PM Python wrote:
>
> On Tue, Jan 12, 2021 at 06:43:39PM -, Grant Edwards wrote:
> > And those X11 users will swear at you if you override their window
> > managers configured window placement. Application code should not care
> > about or try to control window
On Thu, Jan 14, 2021 at 11:58:34AM +1100, Chris Angelico wrote:
> On Thu, Jan 14, 2021 at 11:53 AM Python wrote:
> Have you actually done any research by (a) asking people what they
> actually prefer, and better still (b) silently watching over someone's
> shoulder and seeing which one makes peopl
On Tue, Jan 12, 2021 at 06:43:39PM -, Grant Edwards wrote:
> And those X11 users will swear at you if you override their window
> managers configured window placement. Application code should not care
> about or try to control window geometry. Period.
I think this is just plain wrong. If you,
On 14/01/21 11:09 am, Grant Edwards wrote:
Perhaps I need to recalibrate my adjectives, but with
256KB+ of flash and 32KB+ of RAM, I wouldn't call them "small"
It's small by today's standards, when you consider that
multiple GB of RAM is commonplace now in most "real" computers.
--
Greg
--
htt
On Thu, Jan 14, 2021 at 11:53 AM Python wrote:
>
> On Wed, Jan 13, 2021 at 10:07:23AM +1100, Chris Angelico wrote:
> > On Wed, Jan 13, 2021 at 10:02 AM Igor Korot wrote:
> > > But for my dialogs (especially for dialogs where I need to ask for
> > > credentials) - I don't think I want
> > > WM to
On Wed, Jan 13, 2021 at 10:07:23AM +1100, Chris Angelico wrote:
> On Wed, Jan 13, 2021 at 10:02 AM Igor Korot wrote:
> > But for my dialogs (especially for dialogs where I need to ask for
> > credentials) - I don't think I want
> > WM to do my job.
> >
> > Again - we are talking positioning here a
On 13/01/21 7:57 pm, Christian Gollwitzer wrote:
What do you mean, "until" ?
https://medium.com/@yon.goldschmidt/running-python-in-the-linux-kernel-7cbcbd44503c
He's using Micropython. That's cheating! :-)
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On 2021-01-13, Bischoop wrote:
> t = set(s) # set of characters in s
I have this one changed to:
t= list(set(s))
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 14 Jan 2021, dn via Python-list wrote:
Concerning the definition of "old"
- when I'm having a 'good day', it's anyone several years my senior (and
above)
- when I'm creaking and groaning, it's anyone remotely my age, and older.
About 45 years ago a 25-year-older friend of mine offered
On 2021-01-13, Peter Pearson wrote:
> On Mon, 11 Jan 2021 15:37:58 -0500, DonK
> wrote:
> [snip]
>>
>> I've seen some Python gui frameworks like Tkinter, PyQt, etc. but they
>> look kinda like adding a family room onto a 1986 double wide mobile
>> home,
>
> Agreed.
>
> Browsergui is not widely
On 2021-01-13, Dennis Lee Bieber wrote:
> On Tue, 12 Jan 2021 15:18:05 - (UTC), Grant Edwards
> declaimed the following:
>>On 2021-01-12, songbird wrote:
>>
>>> it can be used for pretty much anything except perhaps high
>>> pressure real time things, but i bet someone else will know that
>>>
I want to to display a number or an alphabet which appears mostly
consecutive in a given string or numbers or both
Examples
s= ' aabskaaabad'
output: c
# c appears 4 consecutive times
8bbakebaoa
output: b
#b appears 2 consecutive times
I thought about set the string then and for each element
On 14/01/2021 04.54, Grimble wrote:
> On 11/01/2021 20:37, DonK wrote:
>>
>> Hi, I'm thinking about learning Python but I'm 74 years old and will
>> very likely not ever have a programming job again.
> At 83, I have no intention of having a programming job again! I last
> coded something professi
Loris Bennett wrote:
> As an Emacs user, personally I would use the command
>
> M-x untabify
>
> within Emacs. I assume that Vim has something similar.
It does. ':retab' is what you want. If you have tabstop set to a
specific value, it'll use that. If not, you can do ':retab ',
where
On 13Jan2021 10:37, songbird wrote:
> my momentary conceptual problem is that to me OOP means
>being able to encapsulate data structures and code from
>other parts of the program, but to me it doesn't look like
>that is how python is designed. this is probably a complete
>aside to this whole thr
On Mon, 11 Jan 2021 15:37:58 -0500, DonK wrote:
[snip]
>
> I've seen some Python gui frameworks like Tkinter, PyQt, etc. but they
> look kinda like adding a family room onto a 1986 double wide mobile
> home,
Agreed.
Browsergui is not widely popular (I don't think anybody but me has
mentioned it
Christian Gollwitzer wrote:
> Am 13.01.21 um 06:24 schrieb Greg Ewing:
>> On 13/01/21 4:18 am, Grant Edwards wrote:
>>
>>> AFAIK, Python can't be used to write device drivers for any popular OS
>>
>> At least not until some crazy person embeds Python in the
>> Linux kernel...
>
>
> What do you
On 11/01/2021 20:37, DonK wrote:
Hi, I'm thinking about learning Python but I'm 74 years old and will
very likely not ever have a programming job again.
At 83, I have no intention of having a programming job again! I last
coded something professionally 45 years ago, but it hasn't lost its
att
Chris Angelico wrote:
...projects that fade...
> That's not really something Python can ever control, but I can say
> with some confidence that the big libraries like Qt and GTK are going
> to adapt, one way or another. And perhaps more importantly: Neither
> input()/print() nor web applications is
On 11/01/2021 20:37, DonK wrote:
So, what do you folks use Python for?
I've written a shopping list script with auto-completion and a couple of
web-scraping applications that support a weather reporting application
interfacing with various 1Wire sensors transcribed from an initial Ruby
ap
40 matches
Mail list logo