Henry S. Thompson wrote:
> Some approach to support future-proofing in general would seem to be in
> order.
> Given some other precedents, adding a boolean argument called either 'strict'
> or 'lax' would be my preference.
An alternative would be to refactor urllib.parse to use strategy objects
Schimon Jehudah writes:
> Is there an "ignore" option for "urljoin" to allow schemes that are not
> included in the registry of the interpreter of the Python computer
> language?
Some approach to support future-proofing in general would seem to be
in order. Given some other precedents, adding a
Is there an "ignore" option for "urljoin" to allow schemes that are not
included in the registry of the interpreter of the Python computer
language?
I think that it is needed to have, even if it is not registered, as
there are ongoing attempts to try to censor Gemini and Gopher.
gemini://woodpeck
Schimon Jehudah via Python-list writes:
> Yesterday, I have added support for a new syndication format, Gemini
> feed.
I note that 'gemini' is not (yet?) a registered URI scheme:
https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
ht
--
Henry S. Thompson, School of Informat
On Sat, 19 Apr 2025 15:56:16 -0400, Thomas Passin wrote:
> My problem with venvs, especially if I have more than one, is that I
> eventually forget what they were for and what is different about each
> one. If there's only one and it's used for all non-system work, that's
> OK but beyond that and
Peter J. Holzer wrote:
> On 2025-04-18 13:08:36 -0400, Thomas Passin via Python-list wrote:
...
>> When the system launches its application the PYTHONPATH will start with
>> system site directories; local user site directories will be on the
>> PYTHONPATH but since they come later, the python will
On 4/19/2025 4:56 AM, Peter J. Holzer via Python-list wrote:
On 2025-04-18 13:08:36 -0400, Thomas Passin via Python-list wrote:
On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote:
On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
On 18/04/25 9:41 am, Mats Wichmann wrote
On 2025-04-18 13:08:36 -0400, Thomas Passin via Python-list wrote:
> On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote:
> > On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
> > > On 18/04/25 9:41 am, Mats Wichmann wrote:
> > > > There's just not a really great answer to th
On 2025-04-18 17:11:33 +0100, Oscar Benjamin via Python-list wrote:
> On Fri, 18 Apr 2025 at 16:50, Peter J. Holzer via Python-list
> wrote:
> >
> > On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
> > > On 18/04/25 9:41 am, Mats Wichmann wrote:
> > > > There's just not a really gre
On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote:
On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
On 18/04/25 9:41 am, Mats Wichmann wrote:
There's just not a really great answer to this.
Seems to me a system-installed application shouldn't be looking in the
user's
On Fri, 18 Apr 2025 at 16:50, Peter J. Holzer via Python-list
wrote:
>
> On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
> > On 18/04/25 9:41 am, Mats Wichmann wrote:
> > > There's just not a really great answer to this.
> >
> > Seems to me a system-installed application shouldn't
On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
> On 18/04/25 9:41 am, Mats Wichmann wrote:
> > There's just not a really great answer to this.
>
> Seems to me a system-installed application shouldn't be looking in the
> user's .local packages in the first place. That should only b
On 18/04/25 9:41 am, Mats Wichmann wrote:
There's just not a really great answer to this.
Seems to me a system-installed application shouldn't be looking in the
user's .local packages in the first place. That should only be for
things the user has installed "for this user".
--
Greg
--
https
On 4/17/25 15:15, Grant Edwards via Python-list wrote:
On 2025-04-17, Left Right via Python-list wrote:
Also... when installing stuff with pip --user, it is always a package
that is not installed for the system (usually not even available for
the system). How can that "break system packages"?
On 2025-04-17, Left Right via Python-list wrote:
>> Also... when installing stuff with pip --user, it is always a package
>> that is not installed for the system (usually not even available for
>> the system). How can that "break system packages"?
>
> pip installs dependencies. Dependencies may di
> Also... when installing stuff with pip --user, it is always a package
> that is not installed for the system (usually not even available for
> the system). How can that "break system packages"?
pip installs dependencies. Dependencies may disagree on the version
with the system packages.
This is
On 4/17/2025 4:58 AM, Roel Schroeven via Python-list wrote:
Op 15/04/2025 om 20:31 schreef Mats Wichmann via Python-list:
To be clear: you do not have to activate a virtualenv to use *Python*
from it. If you just call the python by the path it's in, it figures
everything out (and sets some vari
Op 15/04/2025 om 20:31 schreef Mats Wichmann via Python-list:
To be clear: you do not have to activate a virtualenv to use *Python*
from it. If you just call the python by the path it's in, it figures
everything out (and sets some variables you can query vi sysconfig if
you have reason to actua
On 4/15/2025 5:38 PM, rbowman via Python-list wrote:
On Tue, 15 Apr 2025 14:12:19 -0400, Thomas Passin wrote:
On Linux, at least, it's standard for pip to install into the user's
site-packages location if it's not invoked with admin privileges - even
without --user. Pip will emit a message sayi
On Tue, 15 Apr 2025 14:12:19 -0400, Thomas Passin wrote:
> On Linux, at least, it's standard for pip to install into the user's
> site-packages location if it's not invoked with admin privileges - even
> without --user. Pip will emit a message saying so. Well, that used to be
> true but nowadays P
On 2025-04-16, Mats Wichmann via Python-list wrote:
> On 4/15/25 16:07, Grant Edwards via Python-list wrote:
>> On 2025-04-15, Thomas Passin via Python-list wrote:
>>
>>> On Linux, at least, it's standard for pip to install into the user's
>>> site-packages location if it's not invoked with admi
On 4/15/25 16:07, Grant Edwards via Python-list wrote:
On 2025-04-15, Thomas Passin via Python-list wrote:
On Linux, at least, it's standard for pip to install into the user's
site-packages location if it's not invoked with admin privileges - even
without --user. Pip will emit a message saying
On 2025-04-15, Thomas Passin via Python-list wrote:
> On Linux, at least, it's standard for pip to install into the user's
> site-packages location if it's not invoked with admin privileges - even
> without --user. Pip will emit a message saying so. Well, that used to be
> true but nowadays Pi
On Tue, 15 Apr 2025 18:43:43 +0200, Friedrich Romstedt wrote:
> Many people put emphasis on that you need to *activate* a virtualenv
> before using it, but no-one so far stressed the fact that you got Sphinx
> installed to ~/jonathan/.local/lib/python3.13/site-packages *without
> using *--user.
T
On 4/15/2025 3:41 PM, dn via Python-list wrote:
Various responses have been provided but the OP has not yet replied on-
list (as verified by Archive). Is this an error with the list-processor
or have some posts been sent to one person only (using Reply instead of
ReplyList)?
There are always
On 4/15/2025 12:43 PM, Friedrich Romstedt via Python-list wrote:
Am Mo., 14. Apr. 2025 um 01:14 Uhr schrieb Jonathan Gossage via Python-list
:
I am using *Python 3.13* in a virtual environment under *Ubuntu Linux
24.04*
.
[...]
Instead, it was
installed into the site-packages directory in
Various responses have been provided but the OP has not yet replied
on-list (as verified by Archive). Is this an error with the
list-processor or have some posts been sent to one person only (using
Reply instead of ReplyList)?
There are always others who would like to learn from list-discussio
On 4/15/25 10:43, Friedrich Romstedt via Python-list wrote:
Many people put emphasis on that you need to *activate* a virtualenv before
using it, but no-one so far stressed the fact that you got Sphinx installed
to ~/jonathan/.local/lib/python3.13/site-packages *without using *--user.
To be clea
Am Mo., 14. Apr. 2025 um 01:14 Uhr schrieb Jonathan Gossage via Python-list
:
> I am using *Python 3.13* in a virtual environment under *Ubuntu Linux
> 24.04*
> .
> [...]
> Instead, it was
> installed into the site-packages directory in
> */home/jonathan/.locals/lib/python3.13/site-packages* ev
On Mon, 14 Apr 2025 15:20:13 -0700, Keith Thompson wrote:
> Making the active script executable introdues the risk that you'll
> accidentally execute it rather than sourcing it. If you do that, it
> will probably set up the environment in a new shell process which then
> immediately terminates.
rbowman writes:
> On Mon, 14 Apr 2025 09:55:09 -0400, Thomas Passin wrote:
>> Pip doesn't know about the environment it runs in. It seems to me that
>> you didn't active the venv before you installed using pip. So nothing
>> would have gotten installed into the venv. So where is the venv that you
On 4/14/2025 6:20 PM, Keith Thompson via Python-list wrote:
Thomas Passin writes:
[...]
To activate a venv, you have to source its activate script, which is
in the venv. First you have to mark it as executable. Then you source
it -
source ~/venv/gf4/bin/activate
[...]
No, you don't have to
On 4/14/2025 6:20 PM, Keith Thompson via Python-list wrote:
Thomas Passin writes:
[...]
To activate a venv, you have to source its activate script, which is
in the venv. First you have to mark it as executable. Then you source
it -
source ~/venv/gf4/bin/activate
[...]
No, you don't have to
On Mon, 14 Apr 2025 09:55:09 -0400, Thomas Passin wrote:
> Pip doesn't know about the environment it runs in. It seems to me that
> you didn't active the venv before you installed using pip. So nothing
> would have gotten installed into the venv. So where is the venv that you
> set up? I usually p
Thomas Passin writes:
[...]
> To activate a venv, you have to source its activate script, which is
> in the venv. First you have to mark it as executable. Then you source
> it -
>
> source ~/venv/gf4/bin/activate
[...]
No, you don't have to (and probably shouldn't) mark the script as
executable.
Please include the group in your response; don't just send it to me.
On 4/14/2025 5:09 AM, Jonathan Gossage wrote:
The virtual environment was owned by the user running pip. It was not
owned by root. Does pip not support virtual environments that are owned
by a non-root user and have a multi-us
On Sun, 13 Apr 2025 19:10:47 -0400, Jonathan Gossage wrote:
> The version of Python was compiled from source code and installed with
> make altinstall. I attempted to use *pip* to install the *Sphinx*
> package into the virtual environment using the command *pip install
> sphinx* in the virtual en
On 14/04/25 11:10, Jonathan Gossage via Python-list wrote:
I am using *Python 3.13* in a virtual environment under *Ubuntu Linux 24.04*
.
The version of Python was compiled from source code and installed with make
altinstall. I attempted to use *pip* to install the *Sphinx* package into
the virtu
Good day.
I am studynig decorators, and I am yet to understand how to create a
dcorator for a function which is invoked upon an event.
That is, the function depends upon an event from the event system of
Slixmpp, and the external decorator should be invoked by it.
gemini://woodpeckersnest.space/
On Wed, Mar 12, 2025 at 8:33 PM meejah via Python-list <
python-list@python.org> wrote:
> Hello,
>
> I am happy to announce that magic-wormhole 0.18.0 has been released.
> A visible change is the default display of QR Codes, following the
> specification for file-transfer magic-wormhole codes.
> T
Yes,
I have 24.3.1 version of pip in my win 11 device, there is a new version of
pip available, 25.0.1
Shall I upgrade that?
Kind regards,
Praveen
On Mon, 10 Mar 2025, 03:04 Thomas Passin via Python-list, <
python-list@python.org> wrote:
> On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrot
Is that an approved location for executables?
May I know? What do you mean by approved location?
Kind regards,
Praveen
On Mon, 10 Mar 2025, 01:25 Gilmeh Serda via Python-list, <
python-list@python.org> wrote:
> On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
>
> > "C:\Users\Bharath\AppD
Hi Matt,
I pointed out onething that related to the errors, what I pointed out is I
just gone through the system 32 path in c drive and I found the python
executive and other python files indicating 0 kb, and I deleted these exe,
since these are seem to be corrupted to me, then after I tried runn
On 3/10/25 10:08, Praveen Kumar via Python-list wrote:
Hi Matt,
I pointed out onething that related to the errors, what I pointed out is I
just gone through the system 32 path in c drive and I found the python
executive and other python files indicating 0 kb, and I deleted these exe,
since thes
On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote:
On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
"C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"
Is that an approved location for executables?
Yes, that's where a python.org install normally goes. If you a
n\Python313\
> > > ***C:
> > \Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\
> > >
> > > * however, then after I tried running direct path execution
> > in the cmd.
> > > "C:
> &
x27;t work anyway.
>
> * Additionally I've checked windows apps interference whether
it is causing
> this error, and I saw a couple of python.exe files in this
folder contains
> 0KB size then I thought
* Additionally I've checked windows apps interference whether it is
> causing
> > this error, and I saw a couple of python.exe files in this folder
> contains
> > 0KB size then I thought these were corrupted and after I tried deleting
> > these files, later I re-checked in
\python.exe"
> --version, however it works well and it executed and showed the version,
> but without file path, it won't work anyway.
>
> * Additionally I've checked windows apps interference whether it is causing
> this error, and I saw a couple of python.exe files in this fol
h\AppData\Local\Programs\Python\Python313\python.exe"
>> > --version, however it works well and it executed and showed the version,
>> > but without file path, it won't work anyway.
>> >
>> > * Additionally I've checked windows apps interference whe
s interference whether it is causing
this error, and I saw a couple of python.exe files in this folder contains
0KB size then I thought these were corrupted and after I tried deleting
these files, later I re-checked in cmd, however the issue persisted. refer
to the following error for your furt
I think Python compiles with fPIC by default. Something else had
happened to the OPs checkout that caused these errors. OP needs to
better describe what they were doing to properly understand the
problem.
On Sun, Mar 2, 2025 at 10:10 PM Lew Pitcher via Python-list
wrote:
>
>
> First off, this isn
rbowman writes:
> On Thu, 20 Feb 2025 21:51:51 - (UTC), Lawrence D'Oliveiro wrote:
>
>> On Thu, 20 Feb 2025 10:05:32 -0300, Salvador Mirzo wrote:
>>
>>> It's much more pleasurable (to me) to read books off-screen.
>>
>> You can’t do searches, though.
>
> For non-fiction a decent index does
First off, this isn't really on-topic for comp.lang.c, as it is a question
regarding a linker, interacting
with the results of various options given to a specific compiler.
However...
On Sun, 02 Mar 2025 14:35:08 +, The Doctor wrote:
> How do I compensate for
>
> ld: error: relocation R_
Lawrence D'Oliveiro writes:
> On Thu, 20 Feb 2025 10:05:32 -0300, Salvador Mirzo wrote:
>
>> It's much more pleasurable (to me) to read books off-screen.
>
> You can’t do searches, though.
That's quite right, which is why I also love to have an ebook form of
them.
--
https://mail.python.org/mai
On Thu, 20 Feb 2025 21:51:51 - (UTC), Lawrence D'Oliveiro wrote:
> On Thu, 20 Feb 2025 10:05:32 -0300, Salvador Mirzo wrote:
>
>> It's much more pleasurable (to me) to read books off-screen.
>
> You can’t do searches, though.
For non-fiction a decent index does wonders. A good layout and ta
Lawrence D'Oliveiro writes:
> On Wed, 19 Feb 2025 22:42:23 -0500, songbird wrote:
>
>> no need for me to print any programming books.
>
> I gave up on paper-based programming documentation a long time ago. There
> is way too much of it that I need, and it changes too fast. So I keep it
> all on
Mike wrote:
...
> My current best collection for online quality open access Python Books
> is on:
> https://nocomplexity.com/documents/pythonbook/generatedfiles/overview.html#books
>
thanks!
no need for me to print any programming books.
some old textbooks are still useful, but many pr
thon
libraries, but also in some great external libraries, most targeted for
ML/data science things.
Recently I re-ordered my collection on open access Python Book. I also
was, and still am, searching for good quality books for 'professionals'
that cover the latest developments goo
* Jan Erik Moström in comp.lang.python:
> I'm looking for a book that would teach me the lastest and greatest
> parts of Python, does anyone have any recommendations?
Wider than that, but could still fit the bill: Fluent Python
https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/
On 2/16/25 18:40, Salvador Mirzo via Python-list wrote:
Jan Erik Moström writes:
On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
features specifically but as the title suggests hits the important
concepts.
T
Jan Erik Moström writes:
> On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
>
>> David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
>> features specifically but as the title suggests hits the important
>> concepts.
>
> Thanks, I'll take a look
I can reinforce this
On Mon, 17 Feb 2025 08:59:11 +1300, dn wrote:
> - on Coursera am sad to advise avoiding U.Mich courses - they tend to be
> re-worded Java (I think) content, don't follow PEP-008 and 'miss' Python
> idioms
The edx CS50 Python from Harvard is decent. It does start with t
On Sun, 16 Feb 2025 22:00:11 +0100, Jan Erik Moström wrote:
> I have done so ... to be really honest, it was when I couldn't remember
> how to create an iterator for a class I was writing, that I realized
> that I needed a refresher.
Most of my Python was related to Esri's ArcGIS version. Up unti
On 16 Feb 2025, at 23:06, Thomas Passin via Python-list wrote:
> I don't have a book for them but I think you should look into the (relatively
> new) type annotation system, as well as asynchronized programming. The latter
> is especially of interest because the older techniques have been remove
On 2/16/2025 4:00 PM, Jan Erik Moström via Python-list wrote:
On 16 Feb 2025, at 20:59, dn via Python-list wrote:
When stop to think about it, this is quite a request:
don't give me what I do know,
do give me what I don't know!
😜
That said, you are correct: the bulk of new publications seem
On 16 Feb 2025, at 20:59, dn via Python-list wrote:
> When stop to think about it, this is quite a request:
> don't give me what I do know,
> do give me what I don't know!
😜
> That said, you are correct: the bulk of new publications seem to (still) aim
> at the Beginner end of the continuum (se
On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
> David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
> features specifically but as the title suggests hits the important
> concepts.
Thanks, I'll take a look
= jem
--
https://mail.python.org/mailman/listinfo/python
On Sun, 16 Feb 2025 13:50:33 +0100, Jan Erik Moström wrote:
> I used to be fairly good at Python, but I haven't done any serious
> programming in the last 10 years or so. So I would like something that
> got me up-to-date with the latest features.
David Beasley's 'Python Distilled'. The author do
points which don't immediately 'sink in'). You will find
many examples on Coursera* and edX*.
- on Coursera am sad to advise avoiding U.Mich courses - they tend to be
re-worded Java (I think) content, don't follow PEP-008 and 'miss' Python
idioms
- disclaimer: my work uses the edX platform (not Python)
--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
On 2/16/25 05:50, Jan Erik Moström via Python-list wrote:
I'm looking for a book that would teach me the lastest and greatest parts of
Python, does anyone have any recommendations?
I've looked at python.org and pythonbooks.org but I couldn't decide which one
to get.
I used to be fairly good a
On Tue, 11 Feb 2025 at 05:56, Grant Edwards via Python-list
wrote:
> The -dev packages also contain the man pages for the libraries. It
> surprised me at first that the man pages weren't installed by the
> "normal" lib packages. But, if you're not writing/building apps that
> link with library X,
On 2025-02-10, Chris Angelico via Python-list wrote:
> On Tue, 11 Feb 2025 at 04:04, Grant Edwards via Python-list
> wrote:
>> On 2025-02-09, Left Right via Python-list wrote:
>>
>>> You need the sources of the OpenSSL library, not the compiled library.
>>> On Ubuntu, the packages with sources
On Tue, 11 Feb 2025 at 04:04, Grant Edwards via Python-list
wrote:
>
> On 2025-02-09, Left Right via Python-list wrote:
>
> > You need the sources of the OpenSSL library, not the compiled library.
> > On Ubuntu, the packages with sources are typically named xxx-dev where
> > xxx is the package th
On 2025-02-09, Left Right via Python-list wrote:
> You need the sources of the OpenSSL library, not the compiled library.
> On Ubuntu, the packages with sources are typically named xxx-dev where
> xxx is the package that provides the library. I don't have a Ubuntu
> currently, but try looking for
vincent.vandevy...@oqapy.eu writes:
>> In case this helps you find the correct package to install:
>>
>> $ python3 -c "if True:
>> > import ssl
>> > print('Ok.')
>> > "
>> Ok.
>>
>> $ cat /etc/lsb-release
>> DISTRIB_ID=Ubuntu
>> DISTRIB_RELEASE=24.04
>> DISTRIB_CODENAME=noble
>> DISTRIB_D
vincent.vandevy...@oqapy.eu writes:
> Hi,
>
> Trying to compile Python-3.12.9 on Ubuntu-24.04
>
> The compilation is complete without errors but I have this message:
>
> The necessary bits to bu
So, this is how I know where my SSL headers are found, for instance:
➜ cpython git:(3.12) gcc -I. -I./Include -H ./Modules/_ssl.c 2>&1 | grep evp.h
.. /usr/include/openssl/evp.h
(this was executed from the repository root).
Can you see if you get something similar?
Also... just for sanity chec
>
> In case this helps you find the correct package to install:
>
> $ python3 -c "if True:
> > import ssl
> > print('Ok.')
> > "
> Ok.
>
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=24.04
> DISTRIB_CODENAME=noble
> DISTRIB_DESCRIPTION="Ubuntu 24.04.1 LTS"
>
> $ apt lis
>
> Trying to compile Python-3.12.9 on Ubuntu-24.04
>
> The compilation is complete without errors but I have this message:
>
>
> The necessary bits to build these optional modules were not foun
> HI Vincent.
>
> You need the sources of the OpenSSL library, not the compiled library.
> On Ubuntu, the packages with sources are typically named xxx-dev where
> xxx is the package that provides the library. I don't have a Ubuntu
> currently, but try looking for something like openssl-dev or
> l
HI Vincent.
You need the sources of the OpenSSL library, not the compiled library.
On Ubuntu, the packages with sources are typically named xxx-dev where
xxx is the package that provides the library. I don't have a Ubuntu
currently, but try looking for something like openssl-dev or
libopenssl-dev
Thomas Wouters writes:
> A small release day today! That is to say the releases are relatively
> small; the day itself was of average size, as most days are.
nice.
--
this is my clever sig.
--
https://mail.python.org/mailman/listinfo/python-list
Maybe you'd better use descriptors?
On Tue, 28 Jan 2025 at 23:03, Ian Pilcher via Python-list <
python-list@python.org> wrote:
> (Note: I have mail delivery disabled for this list and read it through
> GMane. Please copy me on any responses, so that I can respond with
> proper threading.)
>
>
あうぇくろ writes:
tpr=composite(type,print)
print(tpr('a')==tpr(1))
Why does tpr('a')==tpr(1) return True?
Because tpr always returns the value None.
--
https://mail.python.org/mailman/listinfo/python-list
Peter J. Holzer wrote:
> [-- text/plain, encoding quoted-printable, charset: us-ascii, 32 lines --]
>
> On 2025-01-14 11:32:35 +, Chris Green via Python-list wrote:
> > Use a virtual environment, what do I have to do then to make using
> > my program (that uses tkintertable) 'transpar
Chris Green via Python-list writes:
> I'm looking for Python packages that can help with text mode input,
> i.e. for use with non-GUI programs that one runs from the command
> prompt in a terminal window running a bash shell or some such.
I'd suggest giving a try to https://pypi.org/project/ques
uld
be a method (of the BufferScanner class), so its first positional
argument should always be an instance of BufferScanner, but it could
have any combination of positional and/or keyword arguments after that.
Is it a typing problem?
The def is not syntactically-correct (parentheses).
Yes, but only when I
On 18/01/25 12:33, Ian Pilcher via Python-list wrote:
I am making my first attempt to use type hinting in a new project, and
I'm quickly hitting areas that I'm having trouble understanding. One of
them is how to write type hints for a method decorator.
Here is an example that illustrates my con
On 2025-01-14 11:32:35 +, Chris Green via Python-list wrote:
> Use a virtual environment, what do I have to do then to make using
> my program (that uses tkintertable) 'transparent', i.e. I just
> want to be able to run the program from the command prompt like
> any other progra
On 1/17/25 12:03, Keith Thompson via Python-list wrote:
Alan Gauld writes:
On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
Alan Gauld writes:
On 11/01/2025 14:28, Chris Green via Python-list wrote:
I'm looking for Python packages that can help with text mode input,
I haven't foll
On 2025-01-17, Alan Gauld via Python-list wrote:
> On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
>> Alan Gauld writes:
>>> On 11/01/2025 14:28, Chris Green via Python-list wrote:
I'm looking for Python packages that can help with text mode input,
>>>
>>> The standard package for
Alan Gauld writes:
> On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
>> Alan Gauld writes:
>>> On 11/01/2025 14:28, Chris Green via Python-list wrote:
I'm looking for Python packages that can help with text mode input,
>>>
>>> The standard package for this is curses which comes as
On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
> Alan Gauld writes:
>> On 11/01/2025 14:28, Chris Green via Python-list wrote:
>>> I'm looking for Python packages that can help with text mode input,
>>
>> The standard package for this is curses which comes as part
>> of the standard li
Alan Gauld writes:
> On 11/01/2025 14:28, Chris Green via Python-list wrote:
>> I'm looking for Python packages that can help with text mode input,
>
> The standard package for this is curses which comes as part
> of the standard library on *nix distros.
The thing about curses (which may or may n
Op 11/01/2025 om 15:28 schreef Chris Green via Python-list:
I'm looking for Python packages that can help with text mode input,
i.e. for use with non-GUI programs that one runs from the command
prompt in a terminal window running a bash shell or some such.
What I'm specifically after is a way to
On 15/01/2025 00:54, Grant Edwards via Python-list wrote:
> are your friend. If that's not sophisticated enough the gnu "readline"
> library with a simple command processor is a common next step.
On that front the cmd module in Python is often overlooked
but is useful for structuring a non-GUI-li
On 2025-01-14, Chris Green via Python-list wrote:
> Yes, thanks all, maybe just straightforward curses is the way to go.
> Looking at some of the 'cleverer' ones they end up looking remarkably
> like GUI code, in which case I might as well use a GUI.
The source code to configure and handle a UI
I wouldn't trust pip to install anything into my system. It's not a
reliable program that I'd recommend anyone to use for things that they
might depend on.
My typical course of action is to create a virtual environment for the
package I need. Install the package into that virtual environment
usin
On 1/14/2025 6:32 AM, Chris Green via Python-list wrote:
I have a (relatively) clean Debian 12 installation running on my two
workhorse systems, a desktop server at home and my laptop that travels
around with me.
I moved from Xubuntu to Debian on both these systems a few months ago.
I ran Xubun
1 - 100 of 45794 matches
Mail list logo