On 2023-03-27 01:53:49 +0200, Jen Kris via Python-list wrote:
> But that brings up a new question. I can create a class instance with
> x = BinaryConstraint(), but what happens when I have a line like
> "EqualityConstraint(prev, v, Strength.REQUIRED)"?
If that is the whole statement it will creat
On 3/26/23 17:53, Jen Kris via Python-list wrote:
I’m asking all these question because I have worked in a procedural style for
many years, with class work limited to only simple classes, but now I’m
studying classes in more depth. The three answers I have received today,
including yours, hav
Thanks to everyone who answered this question. Your answers have helped a lot.
Jen
Mar 27, 2023, 14:12 by m...@wichmann.us:
> On 3/26/23 17:53, Jen Kris via Python-list wrote:
>
>> I’m asking all these question because I have worked in a procedural style
>> for many years, with class work
Hi,
I have been around long enough to know that, due to time-zones, daylight
saving and whatnot, time-related stuff is complicated. So even if I
think something connected with time should exist, there may well be a
very good reason why it does not.
My problem:
I need to deal with what I call
On 3/26/23 13:43, Jen Kris wrote:
My question is: what makes "choose_method" a method of the base class, called
as self.choose_method instead of UrnaryConstraint.choose_method? Is it
super(UrnaryConstraint, self).__init__(strength) or just the fact that Constraint is its
base class?
Whe
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> r...@zedat.fu-berlin.de (Stefan Ram) writes:
>>d = datetime_diff.days
>>h, rem = divmod( datetime_diff.seconds, 3600 )
>>m, s = divmod( rem, 60 )
>>print( f'{d:02}-{h:02}:{m:02}:{s:02}' )
>
> If the default formatting is acceptable to you, you can a
On Thursday, 23 March 2023 at 22:15:10 UTC+1, Thomas Passin wrote:
> On 3/23/2023 3:38 PM, Mats Wichmann wrote:
> > On 3/23/23 09:48, Thomas Passin wrote:
> >
> >> I didn't realize that Christoph Gohlke is still maintaining this site.
> >
> > Unless the the last-changed stuff stopped working,
On Mon, 27 Mar 2023 15:00:52 +0200, Loris Bennett wrote:
> I need to deal with what I call a 'period', which is a span of time
> limited by two dates, start and end. The period has a 'duration',
> which is the elapsed time between start and end. The duration is
> essentially a number of
The Python standard library module datetime seems to be what you want.
It has objects representing date/times, and deltatimes (i.e.,
durations). These can be timezone aware or not as you wish.
Dr. Gary Herron
Professor of Computer Science
DigiPen Institute of Technology
On 3/27/23 6:00 AM, l
On 3/27/2023 10:07 AM, a a wrote:
Ok, I know, I need to switch to Windows 10 run on another PC next to me.
I need to learn how to copy and move every web page opened in Firefox as a
reference to social media, web sites for Python, chat and more (about 50 web
pages live opened 😉
This sounds l
On 3/27/2023 11:34 AM, rbowman wrote:
On Mon, 27 Mar 2023 15:00:52 +0200, Loris Bennett wrote:
I need to deal with what I call a 'period', which is a span of time
limited by two dates, start and end. The period has a 'duration',
which is the elapsed time between start and end. The d
On Monday, 27 March 2023 at 19:19:41 UTC+2, Thomas Passin wrote:
> On 3/27/2023 10:07 AM, a a wrote:
> > Ok, I know, I need to switch to Windows 10 run on another PC next to me.
> >
> > I need to learn how to copy and move every web page opened in Firefox as a
> > reference to social media, web
On 3/27/2023 3:07 PM, a a wrote:
On Monday, 27 March 2023 at 19:19:41 UTC+2, Thomas Passin wrote:
On 3/27/2023 10:07 AM, a a wrote:
Ok, I know, I need to switch to Windows 10 run on another PC next to me.
I need to learn how to copy and move every web page opened in Firefox as a
reference to
On 3/27/2023 4:02 PM, Thomas Passin wrote:
On 3/27/2023 3:07 PM, a a wrote:
On Monday, 27 March 2023 at 19:19:41 UTC+2, Thomas Passin wrote:
On 3/27/2023 10:07 AM, a a wrote:
Ok, I know, I need to switch to Windows 10 run on another PC next to
me.
I need to learn how to copy and move every w
A while ago I chose to use a deque that is shared between two threads. I did so
because the docs say:
"Deques support thread-safe, memory efficient appends and pops from either side
of the deque with approximately the same O(1) performance in either direction.”
(https://docs.python.org/3.11/lib
On Tue, 28 Mar 2023 at 12:26, Travis Griggs wrote:
>
> A while ago I chose to use a deque that is shared between two threads. I did
> so because the docs say:
>
> "Deques support thread-safe, memory efficient appends and pops from either
> side of the deque with approximately the same O(1) perfo
On 2023-03-28, Travis Griggs wrote:
> A while ago I chose to use a deque that is shared between two threads. I did
> so because the docs say:
>
> "Deques support thread-safe, memory efficient appends and pops from
> either side of the deque with approximately the same O(1)
> performance in either
On 2023-03-27 at 18:25:01 -0700,
Travis Griggs wrote:
> "Deques support thread-safe, memory efficient appends and pops from
> either side of the deque with approximately the same O(1) performance
> in either direction.”
> (https://docs.python.org/3.11/library/collections.html?highlight=deque#col
On Tuesday, 28 March 2023 at 02:07:43 UTC+2, Thomas Passin wrote:
> On 3/27/2023 4:02 PM, Thomas Passin wrote:
> > On 3/27/2023 3:07 PM, a a wrote:
> >> On Monday, 27 March 2023 at 19:19:41 UTC+2, Thomas Passin wrote:
> >>> On 3/27/2023 10:07 AM, a a wrote:
> Ok, I know, I need to switch to
On 3/27/2023 8:37 PM, a a wrote:
To save the tabs, right click any one of them and select the "Select All
Tabs" item. They will all highlight. Right click on one of them and
select the "Bookmark Tabs" item. A dialog box will open with an entry
lone for the Name to use (like "Tabset1") and a locat
On 3/27/2023 8:37 PM, a a wrote:
I can select All Opened Tabs (as from the given link)
and get 1,000+ Opened Tabs ( I am afraid, this is s number of all saved
bookmarks in the past)
I go to menu, Bookmarks, Manage Boomarks and copy Tabs
and
https://www.textfixer.com/html/convert-url-to-html-lin
21 matches
Mail list logo