Are dataclasses (or instances thereof) mutable or immutable?
- and in what sense?
Have been experimenting with ChatGPT. In particular: its possibilities
as a trainer, good ideas for methods of introducing new topics, its
capability for drawing-up demonstrations or examples, its interpretation
On 12/04/2023 02.29, Loris Bennett wrote:
Hi,
Having solved my problem regarding setting up 'logger' such that it is
...
My reading suggests that setting up a module with a Config class which
can be imported by any part of the program might be a reasonable approach:
...
However, in my
Not sure if I'm fully understanding the question. But one option instead of
making everything class attributes is to just define __getattr__ for when it
doesn't find an attribute.
Won't work for every single valid section and option name (because of spaces,
name overlaps, etc) but should cover
On 4/11/23 11:48, Oscar Benjamin wrote:
> You can hardly blame a lot of people for doing this. A seb search for
> "download python" gives this as the first hit:
> https://www.python.org/downloads/
Very true, but it points to the difference between how people install
Python on Windows compared to
On 4/11/23 11:48, Oscar Benjamin wrote:
On Tue, 11 Apr 2023 at 14:55, Mats Wichmann wrote:
On 4/11/23 06:03, Roel Schroeven wrote:
Op 11/04/2023 om 12:58 schreef Chris Angelico:
Python itself is fine, but a lot of third-party packages are hard to
obtain. So if you need numpy, for
Hi,
Having solved my problem regarding setting up 'logger' such that it is
accessible throughout my program (thanks to the help on this list), I
now have problem related to a slightly similar issue.
My reading suggests that setting up a module with a Config class which
can be imported by any
On Tue, 11 Apr 2023 at 14:55, Mats Wichmann wrote:
>
> On 4/11/23 06:03, Roel Schroeven wrote:
> > Op 11/04/2023 om 12:58 schreef Chris Angelico:
>
> >> Python itself is fine, but a lot of third-party packages are hard to
> >> obtain. So if you need numpy, for instance, or psycopg2, you might
>
On 4/11/23 06:03, Roel Schroeven wrote:
Op 11/04/2023 om 12:58 schreef Chris Angelico:
Python itself is fine, but a lot of third-party packages are hard to
obtain. So if you need numpy, for instance, or psycopg2, you might
need to find an alternative source.
These days I use pip to install
On 4/11/2023 6:58 AM, Chris Angelico wrote:
On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote:
What’s the problem now? Is it with python on windows? I use python on windows
so I’d like to know. Thanks
Python itself is fine, but a lot of third-party packages are hard to
obtain. So if you
On 2023-04-11 12:54:05 +0100, Oscar Benjamin wrote:
> Certainly for the more widely used libraries like numpy installing
> binaries with pip is not a problem these days on Windows or other
> popular OS. I notice that psycopg2 *only* provides binaries for
> Windows and not e.g. OSX or Linux
For
On Tue, 11 Apr 2023 at 21:55, Oscar Benjamin wrote:
>
> Both numpy and psycopg2 have binary wheels for Windows that can be pip
> installed from PyPI.
Ah good. It's been a long time since I've needed to care about
Windows, so I'm a bit out of the loop. That's good news. While not at
all
Op 11/04/2023 om 12:58 schreef Chris Angelico:
On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote:
>
> What’s the problem now? Is it with python on windows? I use python on
windows so I’d like to know. Thanks
>
Python itself is fine, but a lot of third-party packages are hard to
obtain. So if
On Tue, 11 Apr 2023 at 12:01, Chris Angelico wrote:
>
> On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote:
> >
> > What’s the problem now? Is it with python on windows? I use python on
> > windows so I’d like to know. Thanks
> >
>
> Python itself is fine, but a lot of third-party packages are
On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote:
>
> What’s the problem now? Is it with python on windows? I use python on
> windows so I’d like to know. Thanks
>
Python itself is fine, but a lot of third-party packages are hard to
obtain. So if you need numpy, for instance, or psycopg2, you
What’s the problem now? Is it with python on windows? I use python on windows
so I’d like to know. Thanks
Sent from my iPhone
> On Apr 11, 2023, at 2:24 AM, Chris Angelico wrote:
>
> On Tue, 11 Apr 2023 at 14:20, Mike Dewhirst wrote:
>>
>> It seems Christoph Gohlke has been cut adrift
On Tue, 11 Apr 2023 at 18:22, Mike Dewhirst wrote:
>
> On 11/04/2023 5:21 pm, Chris Angelico wrote:
>
>> My personal view? Windows is *really really really* hard to support,
>> and ONE PERSON did a stellar job of supporting the platform for an
>> incredibly long job.
>
>
> I have to agree - but
On 11/04/2023 5:21 pm, Chris Angelico wrote:
On Tue, 11 Apr 2023 at 14:20, Mike Dewhirst wrote:
It seems Christoph Gohlke has been cut adrift and his extremely valuable
web page ...
https://www.lfd.uci.edu/~gohlke/pythonlibs/
... turned into an archive getting staler by the day.
What does
On Tue, 11 Apr 2023 at 14:20, Mike Dewhirst wrote:
>
> It seems Christoph Gohlke has been cut adrift and his extremely valuable
> web page ...
>
> https://www.lfd.uci.edu/~gohlke/pythonlibs/
>
> ... turned into an archive getting staler by the day.
>
> What does the Python Software Foundation and
18 matches
Mail list logo