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
g/mailman/listinfo/python-list
,
Carlo
Carlo Pecoraro, Ph.D
Physalia-courses DIRECTOR
i...@physalia-courses.org
mobile: +49 17645230846
--
https://mail.python.org/mailman/listinfo/python-list
= 'Q'
>>> p2 = Person.get(1)
>>> p2
>>> p is p2
True
Queries::
>>> p3 = Person.selectBy(lname="Doe")[0]
>>> p3
>>> pc = Person.select(Person.q.lname=="Doe").count()
>>> pc
1
Oleg.
--
Oleg Broytmanhttps://phdru.name/p...@phdru.name
Programmers don't die, they just GOSUB without RETURN.
--
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
&
call_tracing()| enables explicit recursion of the
tracing function.
Is there any reason it doesn't support
sys.call_tracing(/func/, /args/, kargs)
to call
func(*args, **kargs)
?
Best wishes
Rob Cliffe
--
https://mail.python.org/mailman/listinfo/python-list
===
If your user interface is intuitive in retrospect ... it isn't intuitive
====
--
https://mail.python.org/mailman/listinfo/python-list
data format (wav: using
speech_recognition's *get_wav_data*(), using numpy...)
Any suggestions (using Python 2.x)?
Thanks.
--
https://mail.python.org/mailman/listinfo/python-list
あうぇくろ 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
1](func[0](*args, **kwargs))
return lambda *args, **kwargs: composite(*func[1:])(func[0](*args, **kwargs
))
tpr=composite(type,print)
print(tpr('a')==tpr(1))
I subscribed to python-list, so I sent this message again.
Why does tpr('a')==tpr(1) return True?
--
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 (t
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
r user interface is intuitive in retrospect ... it isn't intuitive
====
--
https://mail.python.org/mailman/listinfo/python-list
(Note: I have mail delivery disabled for this list and read it through
GMane, so I am unable to respond with correct threading if I'm not cc'ed
directly.)
On 1/17/25 7:26 PM, dn via Python-list wrote:
On 18/01/25 12:33, Ian Pilcher via Python-list wrote:
I am making my first atte
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 illu
your user interface is intuitive in retrospect ... it isn't intuitive
========
--
https://mail.python.org/mailman/listinfo/python-list
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 l
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 ha
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
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,
>>>
>>>
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 whi
(check_if_stream_is_pipe(sys.stdin))
--
https://mail.python.org/mailman/listinfo/python-list
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 c
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 afte
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
/python-list
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 config
int to it but I can't see
> any further issues with doing this.
>
> Anything else? As far as I can see using pipx doesn't help me at
> all (see recent thread here).
>
> --
> Chris Green
> ·
> --
> https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
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
der supporting our efforts by
volunteering yourself or through organisation contributions to the Python
Software Foundation.
Regards from a slushy, slippery Helsinki,
Your release team,
Hugo van Kemenade
Ned Deily
Steve Dower
Łukasz Langa
--
https://mail.python.org/mailman/listinfo/python-list
example. Pipx is not
intended to install Python packages that are not applications.
Regrads,
Christian
--
https://mail.python.org/mailman/listinfo/python-list
On 1/14/25 04:32, 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 Xubuntu
On 1/13/25 22:47, roc str via Python-list wrote:
having a difficult time installing Python-3.10.16.tgz using
the Python-3.20.0a2.exe installer.
Please Advise
Mario Ramos.
Your question doesn't exactly make sense, but note this:
Windows installers are not built for "security bugfix
and
use that. My PYTHONPATH will need to point to it but I can't see
any further issues with doing this.
Anything else? As far as I can see using pipx doesn't help me at
all (see recent thread here).
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
having a difficult time installing Python-3.10.16.tgz using
the Python-3.20.0a2.exe installer.
Please Advise
Mario Ramos.
--
https://mail.python.org/mailman/listinfo/python-list
Alan Gauld wrote:
> On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
> > On 2025-01-13, Alan Gauld via Python-list wrote:
> >
> >> All of that is possible in curses, you just have to code it.
> >
> > All of that is easy with curses in C. Unfortuna
On 2025-01-14, Alan Gauld via Python-list wrote:
> On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
>> On 2025-01-13, Alan Gauld via Python-list wrote:
>>
>>> All of that is possible in curses, you just have to code it.
>>
>> All of that is easy w
On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
> On 2025-01-13, Alan Gauld via Python-list wrote:
>
>> All of that is possible in curses, you just have to code it.
>
> All of that is easy with curses in C. Unfortunately, the high level
> "panel" and &q
On 2025-01-13, Alan Gauld via Python-list wrote:
> All of that is possible in curses, you just have to code it.
All of that is easy with curses in C. Unfortunately, the high level
"panel" and "menu" curses subystems that make it easy aren't included
in the Pytho
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.
> What I'm specifically after is a way to provide
On 1/13/2025 11:09 AM, Henry S. Thompson via Python-list wrote:
I've spent several days trying to get this example [1] working, using
Python3.11 and Cython 3.0.11 of Debian.
I've copied the example files as carefully as I can, renamed some to
avoid a name clash with the queue.py li
[with link]
Henry S. Thompson via Python-list writes:
> I've spent several days trying to get this example [1] working, using
> Python3.11 and Cython 3.0.11 of Debian.
>
> I've copied the example files as carefully as I can, renamed some to
> avoid a name clash with the
On 1/12/2025 7:11 AM, Chris Green via Python-list wrote:
Stefan Ram wrote:
Chris Green wrote or quoted:
E.g. I want to install and use pksheet but, as it's not available from
the Debian repositories, I'll have to install it from PyPi.
I can't dig up any "pksheet"
rustbuck...@nope.com wrote:
>
> This is what I was going to suggest. Rich is super easy to use.
OK, thanks, Rich is on my shortlist then.
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
by the way, on (probably) just a couple of
Linux systems.
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
This is what I was going to suggest. Rich is super easy to use.
--
https://mail.python.org/mailman/listinfo/python-list
ailman/listinfo/python-list
by them, nor will this library integrate with the other
libraries provided by the system. So, it's hard to imagine why your
users would want that.
On Sun, Jan 12, 2025 at 12:47 AM Chris Green via Python-list
wrote:
>
> Can one use pipx to wrap the process of creating an independent
On 12/01/25 03:28, Chris Green via Python-list wrote:
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 i
in its own environment. Can pipx help me with this?
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
Are there any packages that offer this sort of thing? I'd prefer ones
from the Debian repositories but that's not absolutely necessary.
It might also be possible/useful to use the mouse for this.
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
On 1/10/25 12:53, Thomas Passin via Python-list wrote:
On 1/10/2025 4:00 PM, Tim Johnson via Python-list wrote:
On 1/10/25 11:32, MRAB via Python-list wrote:
,,, snipped
Below is the pertinent code:
Popen(choice, stdout=PIPE, stderr=PIPE,
stdin=PIPE, close_fds=True
On 1/10/2025 4:00 PM, Tim Johnson via Python-list wrote:
On 1/10/25 11:32, MRAB via Python-list wrote:
,,, snipped
Below is the pertinent code:
Popen(choice, stdout=PIPE, stderr=PIPE,
stdin=PIPE, close_fds=True)
My guess is my argument list is either insufficient or
art is that you find the clone() call that
returns the process id your code is waiting on.)
And, if it doesn't look like the above, then show what *does* it look like.
On Fri, Jan 10, 2025 at 10:03 PM Tim Johnson via Python-list
wrote:
>
>
> On 1/10/25 11:32, MRAB via Python-list wro
On 1/10/25 11:32, MRAB via Python-list wrote:
,,, snipped
Below is the pertinent code:
Popen(choice, stdout=PIPE, stderr=PIPE,
stdin=PIPE, close_fds=True)
My guess is my argument list is either insufficient or an argument is
causing the problem, but am unsure of
On 2025-01-10 19:15, Tim Johnson via Python-list wrote:
Using Python 3.12.3 on Ubuntu 24.04
I've converted a legacy python2 script to python3. All went well.
However, a glitch from python2 remains.
The script uses dmenu to create menus to pick applications. Applications
are then invoked
ld be great to
make it work from this script.
Thanks in advance
Tim
--
https://mail.python.org/mailman/listinfo/python-list
ath. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
https://www.egenix.com/company/contact/
https://www.malemburg.com/
--
https://mail.python.org/mailman/listinfo/python-list
ttps://mail.python.org/mailman/listinfo/python-list
m m^2 + 2km, which has the right
shape to preserve the square property, and that with some
algebra we can identify m as m = n + 1.
--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @kazina...@mstdn.ca
--
https://mail.python.org/mailman/listinfo/python-list
es
[4] https://github.com/vsajip/python-gnupg/releases/
[5] python-gnupg - A Python wrapper for GnuPG
--
https://mail.python.org/mailman/listinfo/python-list
On 2025-01-04 19:07:57 +, Chris Green via Python-list wrote:
> Stefan Ram wrote:
> > Chris Green wrote or quoted:
> > >From: =?utf-8?B?U8OpYmFzdGllbiBDcmlnbm9u?=
> >
> Is there a simple[r] way to extract just the 'real' address between
> the <>
easily remove the UTF8 section in a way that will work whether or not
> it's there?
This seemed to work for me:
import email.header
text, encoding = email.header.decode_header(some_string)[0]
--
To email me, substitute nowhere->runbox, invalid->com.
--
https://mail.python.org/mailman/listinfo/python-list
> moments, it’s smart to fall back to 'utf-8' or something safe.
>
Thanks, I think! :-)
Is there a simple[r] way to extract just the 'real' address between
the <>, that's all I actually need. I think it has the be the last
chunk of the From: doesn't it?
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
wrapped bit
altogether as I'm only interested in the 'real' address. How can I
easily remove the UTF8 section in a way that will work whether or not
it's there?
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 4 Jan 2025 at 09:22, aotto1968 via Python-list
wrote:
>
> On 30.12.24 18:29, Michael Torrie wrote:
> > On 12/26/24 12:34 AM, aotto1968 via Python-list wrote:
> >> sorry you don't understand the problem…
> >>
> >> > You managed to make a
On 30.12.24 18:29, Michael Torrie wrote:
On 12/26/24 12:34 AM, aotto1968 via Python-list wrote:
sorry you don't understand the problem…
> You managed to make a build of Python that attempts to link to a DLL
I never touch the OpenSUSE python. the OpenSUSE python try to use my
sqalite
Happy New Year, one and all. :)
Tim
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-12-31 15:00:10 -0900, Tim Johnson via Python-list wrote:
> being retired for ten years, I get my butt kicked by python dependencies
> every time I upgrade ubuntu. (I'm newly on 24.04) now.
>
> Now, after three weeks on using the following code correctly:
>
> from
On Tue, Dec 31, 2024, 17:04 Tim Johnson via Python-list <
python-list@python.org> wrote:
> I am as of today, getting an import error for mutagen. Mutagen package
> is installed at /root/.local/share/pipx/shared/lib/python3.12/site-packages
> Pip-installed packages that go to /
On 12/31/2024 7:00 PM, Tim Johnson via Python-list wrote:
Please let me grumble for a minute : I've been using python since before
1. 5, when I could email Guido van Rossum directly with questions
and on at least one occasion we swapped stories about our cats. I put
six kids though co
.)
Thanks
Tim
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-12-27, Chris Green via Python-list wrote:
> Cameron Simpson wrote:
>> On 25Dec2024 14:52, Abdur-Rahmaan Janhangeer wrote:
>> >I have been following discussions on Discourse (discuss.python.org)
>> >these last times.
>> >
>> >I think tha
On 12/27/24 00:58, Chris Green via Python-list wrote:
Yes, it's the one saving grace of a Discourse forum, you can use it by
E-Mail and it behaves quite nicely with a text mode E-Mail client such
as mutt so you can keep threads separate, follow sub-threads, etc.
Not quite as good as this
On 12/26/24 12:34 AM, aotto1968 via Python-list wrote:
> sorry you don't understand the problem…
>
> > You managed to make a build of Python that attempts to link to a DLL
>
> I never touch the OpenSUSE python. the OpenSUSE python try to use my
> sqalite3.
The *only*
On Mon, 30 Dec 2024 at 15:02, aotto1968 via Python-list
wrote:
> > You managed to make a build of Python that attempts to link to a DLL
>
> I never touch the OpenSUSE python. the OpenSUSE python try to use my
> sqalite3.
You keep saying this, but do you even know what "make
s a very good "mailing list" mode. I use it that was >90% of
> the time, and file both posts from Discourse and posts from python-list
> into my "python" mail folder.
Yes, it's the one saving grace of a Discourse forum, you can use it by
E-Mail and it behaves
usr/bin/python3 OpenSUSE installation using
parts of *my* local *user* setup.
--
https://mail.python.org/mailman/listinfo/python-list
On 26.12.24 04:55, Michael Torrie wrote:
On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
It is not only an *usage* error it is also an *security* error because:
1) "cnf" is using OS python
2) os "root&q
On 26.12.24 04:55, Michael Torrie wrote:
On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
It is not only an *usage* error it is also an *security* error because:
1) "cnf" is using OS python
2) os "root&q
On 26.12.24 06:46, Chris Angelico wrote:
On Thu, 26 Dec 2024 at 14:57, Michael Torrie via Python-list
wrote:
On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
It is not only an *usage* error it is also an *security
On 25.12.24 23:55, Chris Angelico wrote:
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
It is not only an *usage* error it is also an *security* error because:
1) "cnf" is using OS python
2) os "root" python
3) using **my** local non-root library
Yes.
On 12/29/24 15:10, Cameron Simpson via Python-list wrote:
On 29Dec2024 07:16, Kevin M. Wilson wrote:
Excuse please, my failure. As I have not been following this
discussion, why is the subject "Python List Is NOT Dead" a subject for
discussion? Has the list been moving towards clo
On 29Dec2024 07:16, Kevin M. Wilson wrote:
Excuse please, my failure. As I have not been following this discussion, why is the
subject "Python List Is NOT Dead" a subject for discussion? Has the list been
moving towards closing?
No, the list's still around. But there wa
Excuse please, my failure. As I have not been following this discussion, why is
the subject "Python List Is NOT Dead" a subject for discussion? Has the list
been moving towards closing?
KMW
***
"When you pass through the waters, I w
thank you Mr. Jahangir.
you are expert in python.
On Fri, Dec 27, 2024 at 2:28 AM Cameron Simpson via Python-list <
python-list@python.org> wrote:
> On 25Dec2024 14:52, Abdur-Rahmaan Janhangeer wrote:
> >I have been following discussions on Discourse (discuss.python.org)
>
of
the time, and file both posts from Discourse and posts from python-list
into my "python" mail folder.
--
https://mail.python.org/mailman/listinfo/python-list
finitely appears to be a pretty major mis-configuration
of his system. Not much we can do about that.
--
https://mail.python.org/mailman/listinfo/python-list
On 25/12/24 23:52, Abdur-Rahmaan Janhangeer via Python-list wrote:
Hey all,
I have been following discussions on Discourse (discuss.python.org) these
last times.
I think that it definitely lacks some of the joys of the mailing list:
1/ Categories
The discussion has fixed categories. No
On Thu, 26 Dec 2024 at 14:57, Michael Torrie via Python-list
wrote:
>
> On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
> > On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
> > wrote:
> >> It is not only an *usage* error it is also an *security* error
tivate the venv.
--
https://mail.python.org/mailman/listinfo/python-list
On 12/25/24 3:55 PM, Chris Angelico via Python-list wrote:
> On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
> wrote:
>> It is not only an *usage* error it is also an *security* error because:
>>
>> 1) "cnf" is using OS python
>> 2) os "r
On Thu, 26 Dec 2024 at 09:27, aotto1968 via Python-list
wrote:
> It is not only an *usage* error it is also an *security* error because:
>
> 1) "cnf" is using OS python
> 2) os "root" python
> 3) using **my** local non-root library
Yes. And YOU were the one wh
/lib64/libsqlite3.so.0 ->
libsqlite3.so.0.8.6
> ls -al NHI1_EXT/lib64/libsqlite3.so.0.8.6
-rwxr-xr-x 1 dev1usr users 3851872 23. Dez 22:09
NHI1_EXT/lib64/libsqlite3.so.0.8.6
--
https://mail.python.org/mailman/listinfo/python-list
4/python3.6/sqlite3/__init__.py", line 23, in
from sqlite3.dbapi2 import *
File "/usr/lib64/python3.6/sqlite3/dbapi2.py", line 27, in
from _sqlite3 import *
ImportError:
/usr/lib64/python3.6/lib-dynload/_sqlite3.cpython-36m-x86_64-linux-gnu.so:
undefined symbol: sqlite3_trace
--
https://mail.python.org/mailman/listinfo/python-list
e of my code and how the modules
> relate to each other.
On 25/12/24 23:08, marc nicole via Python-list wrote:
the purpose of the diagram is to convey a minimalistic idea about the
structure of the code/implementation/software
In which case, and assuming the "algorithm" is the ap
On Wed, 25 Dec 2024 14:52:23 +0400
Abdur-Rahmaan Janhangeer via Python-list wrote:
> Hey all,
>
> I have been following discussions on Discourse (discuss.python.org)
> these last times.
>
> I think that it definitely lacks some of the joys of the mailing list:
>
>
out <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius
--
https://mail.python.org/mailman/listinfo/python-list
the purpose of the diagram is to convey a minimalistic idea about the
structure of the code/implementation/software
Le mer. 25 déc. 2024 à 01:49, Thomas Passin via Python-list <
python-list@python.org> a écrit :
> On 12/24/2024 3:42 PM, marc nicole via Python-list wrote:
> > i
On 12/24/2024 3:42 PM, marc nicole via Python-list wrote:
it is here https://i.sstatic.net/ykk5Wd0w.png
This diagram does not make much sense to me:
1. What is the purpose of the diagram and who is it intended for?
2. A module and an algorithm are different kinds of things, yet they are
1 - 100 of 2920 matches
Mail list logo