Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-13 Thread Michael Torrie via Python-list
On 11/12/24 12:10 PM, Left Right via Python-list wrote: > But, it's > impossible to reliably rotate a log file. There's always a chance > that during the rotation some log entries will be written to the file > past the point of rotation, but prior to the point where the nex

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-14 Thread Jon Ribbens via Python-list
never once worried about problems GNU tail > might have with a file that gets rotated out from under you. Not sure > why the author is so fixated on it. I really wouldn't worry about anything Jonathan de Boyne Pollard says. -- https://mail.python.org/mailman/listinfo/python-list

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-14 Thread Ethan Furman via Python-list
On 11/13/24 23:03, Left Right via Python-list wrote: >> On any Unix system this is untrue. Rotating a log file is quite simple: > > I realized I posted this without cc'ing the list: > http://jdebp.info/FGA/do-not-use-logrotate.html . > > The link above gives a more d

How to break while loop based on events raised in a thread (Python 2.7)

2024-11-27 Thread marc nicole via Python-list
ow I perform multiple checks at each if or while statement, but is there a IO async based method that breaks out of the loop when the event is raised in the thread? -- https://mail.python.org/mailman/listinfo/python-list

Cheetah 3.4.0

2024-12-02 Thread Oleg Broytman via Python-list
#x27;name'] is $person['mood'] #end for Oleg. -- Oleg Broytmanhttps://phdru.name/[email protected] Programmers don't die, they just GOSUB without RETURN. -- https://mail.python.org/mailman/listinfo/python-list

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-13 Thread Left Right via Python-list
hile the latter are :) -- https://mail.python.org/mailman/listinfo/python-list

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-14 Thread Chris Angelico via Python-list
On Thu, 14 Nov 2024 at 18:05, Left Right via Python-list wrote: > > > On any Unix system this is untrue. Rotating a log file is quite simple: > > I realized I posted this without cc'ing the list: > http://jdebp.info/FGA/do-not-use-logrotate.html . > > The lin

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-14 Thread Loris Bennett via Python-list
hell gives you a really, really simple > way of redirecting stderr to a file. So, really, there aren't any > excuses to do that. I don't quite understand what your suggestion is. Do you mean that I should log to stderr and then run my program as my_program ... 2>&1 | logger ? Cheers, Loris -- This signature is currently under constuction. -- https://mail.python.org/mailman/listinfo/python-list

ANN: eGenix PyRun - One file Python Runtime 2.6.0

2024-11-14 Thread eGenix Team via Python-list
://www.malemburg.com/ -- https://mail.python.org/mailman/listinfo/python-list

Re: FileNotFoundError thrown due to file name in file, rather than file itself

2024-11-14 Thread D'Arcy Cain via Python-list
On 11/13/24 02:12, Roel Schroeven via Python-list wrote: What I most often do is use one logfile per day, with the date in the filename. Then simply delete all files older than 7 days, or 30 days, or whatever is useful for the task at hand. Not only does that sidestep any issues with rotating

RE: super().__init__() and bytes

2024-12-03 Thread Anders Munch via Python-list
def __new__(cls, whatever, arguments, you, like): bytesvalue = compute(whatever, arguments, you, like) ob = bytes.__new__(cls, bytesvalue) ob.some_other_att = compute_something_else(whatever, arguments, you, like) return ob regards, Anders -- https://mail.python.org/mailman/listinfo/python-list

Re: super().__init__() and bytes

2024-12-03 Thread Roel Schroeven via Python-list
Op 3/12/2024 om 10:41 schreef Roel Schroeven via Python-list: [...] When I try the same with bytes as base class though, that doesn't work (at least in the Python version I'm using, which is CPython 3.11.2 64-bit on Windows 10): class MyBytes(bytes):     def __init__(

Re: super().__init__() and bytes

2024-12-03 Thread Roel Schroeven via Python-list
Op 3/12/2024 om 13:55 schreef Anders Munch via Python-list: Roel Schroeven wrote: > As a follow-up, it looks like this behavior is because bytes and int are immutable. Yes. OK. > But that doesn't tell me why using super().__init__() doesn't work for immutable classes. byt

super().__init__() and bytes

2024-12-03 Thread Roel Schroeven via Python-list
ut conversely, the dolphins had always believed that they were far more intelligent than man — for precisely the same reasons." -- Douglas Adams -- https://mail.python.org/mailman/listinfo/python-list

Re: Cheetah 3.4.0

2024-12-03 Thread Mohammadreza Saveji via Python-list
Thanks a lot Oleg sincerely yours On Mon, Dec 2, 2024 at 5:27 PM Oleg Broytman via Python-list < [email protected]> wrote: > Hello! > > I'm pleased to announce version 3.4.0, the final release > of branch 3.4 of CheetahTemplate3. > > >

Re: super().__init__() and bytes

2024-12-04 Thread Roel Schroeven via Python-list
Op 4/12/2024 om 0:14 schreef Greg Ewing via Python-list: On 4/12/24 3:24 am, Roel Schroeven wrote: It's not entirely clear to me though how bytes.__new__ *can* set an object's value. Isn't __new__ also a regular function? Yes, but the __new__ methods of the builtin immutable ob

Re: [RELEASE] Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 are now available

2024-12-03 Thread Jason Friedman via Python-list
🙏 On Tue, Dec 3, 2024 at 5:06 PM Thomas Wouters via Python-list < [email protected]> wrote: > Another big release day! Python 3.13.1 and 3.12.8 were regularly scheduled > releases, but they do contain a few security fixes. That makes it a nice > time to release the se

Re: super().__init__() and bytes

2024-12-03 Thread Greg Ewing via Python-list
are able to do things that Python methods cannot. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

How to catch a fatal error in Python 2.7?

2024-12-09 Thread marc nicole via Python-list
to the halting of the whole program, I need to be able to do something when it occurs. Thanks for the help! -- https://mail.python.org/mailman/listinfo/python-list

Re: How to catch a fatal error in Python 2.7?

2024-12-09 Thread Michael Torrie via Python-list
On 12/9/24 12:19 PM, marc nicole via Python-list wrote: > Hello, > > The fatal error exits the program with a code -1 while referencing the > memory address involved and nothing else. > > How to catch it in Python 2.7? Does the problem occur with Python 3.x? At this date,

Re: it's a shame... python error over error

2025-01-03 Thread Chris Angelico via 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

How to manage accented characters in mail header?

2025-01-06 Thread Chris Green via 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

Re: How to manage accented characters in mail header?

2025-01-06 Thread Chris Green via 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

Re: How to manage accented characters in mail header?

2025-01-06 Thread Peter Pearson via Python-list
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

ANN: A new version (0.5.4) of python-gnupg has been released.

2025-01-07 Thread Vinay Sajip via 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

Re: Add the numbers in a 9x9 multiplication Table

2025-01-07 Thread Kaz Kylheku via 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: @[email protected] -- https://mail.python.org/mailman/listinfo/python-list

ANN: Happy 2025 with DIPY 1.10.0 💥

2025-01-07 Thread Eleftherios Garyfallidis via Python-list
ttps://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-30 Thread Michael Torrie via Python-list
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*

Re: it's a shame... python error over error

2024-12-25 Thread Michael Torrie via 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

Re: it's a shame... python error over error

2024-12-25 Thread Michael Torrie via Python-list
tivate the venv. -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-25 Thread Chris Angelico via Python-list
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

Re: it's a shame... python error over error

2024-12-26 Thread Michael Torrie via 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

Re: Python List is Not Dead

2024-12-26 Thread Cameron Simpson via Python-list
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

Re: Python List is Not Dead

2024-12-29 Thread Cameron Simpson via Python-list
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

Re: Python List is Not Dead

2024-12-29 Thread Mats Wichmann via Python-list
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

Re: it's a shame... python error over error

2024-12-29 Thread Chris Angelico via Python-list
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

Re: Python List is Not Dead

2024-12-28 Thread Mohammadreza Saveji via Python-list
thank you Mr. Jahangir. you are expert in python. On Fri, Dec 27, 2024 at 2:28 AM Cameron Simpson via Python-list < [email protected]> wrote: > On 25Dec2024 14:52, Abdur-Rahmaan Janhangeer wrote: > >I have been following discussions on Discourse (discuss.python.org) >

Re: Python List is Not Dead

2024-12-30 Thread Grant Edwards via 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

Re: Any way to "subclass" typing.Annotated?

2025-01-31 Thread Fabien LUCE via Python-list
Maybe you'd better use descriptors? On Tue, 28 Jan 2025 at 23:03, Ian Pilcher via Python-list < [email protected]> 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 &

[RELEASE] Python 3.13.2 and 3.12.9 now available!

2025-02-04 Thread Thomas Wouters via Python-list
g/mailman/listinfo/python-list

Re: RE Version of OpenSSl ?

2025-02-09 Thread Keith Thompson via Python-list
ig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionArchitecture Description +++--==-- ii libssl-dev:amd64 3.3.1-2ubuntu2 amd64Secure Sockets Layer toolkit - development files ``` then I don't understand why you'd get the "Python requires a OpenSSL 1.1.1 or newer" message. -- Keith Thompson (The_Other_Keith) [email protected] void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: Version of OpenSSl ?

2025-02-10 Thread Grant Edwards via Python-list
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

Re: Version of OpenSSl ?

2025-02-10 Thread Chris Angelico via Python-list
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 &

Re: [RELEASE] Python 3.13.2 and 3.12.9 now available!

2025-02-06 Thread Rust Buckett via Python-list
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

Re: Version of OpenSSl ?

2025-02-10 Thread Grant Edwards via Python-list
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. >>>

Re: Version of OpenSSl ?

2025-02-10 Thread Chris Angelico via Python-list
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 ap

SQLObject 3.12.0.post2

2025-02-01 Thread Oleg Broytman via 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/[email protected] Programmers don't die, they just GOSUB without RETURN. -- https://mail.python.org/mailman/listinfo/python-list

sys.call_tracing

2025-01-30 Thread Rob Cliffe via Python-list
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

Re: ModuleNotFoundError for youtube_dl

2024-12-09 Thread Tim Johnson via Python-list
/python3.12/site-packages/pipx_shared.pth ("/home/tim/.local/share/pipx/shared/lib/python3.12/site-packages") and added that to /usr/lib/python3.12/sitecustomize.py as appended to sys.path and it appears to be solved. -- https://mail.python.org/mailman/listinfo/python-list

ModuleNotFoundError for youtube_dl

2024-12-09 Thread Tim Johnson via Python-list
if you don't use it you lose it, right) I hope that someone can help me correct this. thanks tim -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-14 Thread Michael Torrie via Python-list
On 12/14/24 10:31 AM, aotto1968 via Python-list wrote: > The CORE problem is that python3 works well in *my* environment but the > installation is done as root and root does not use *my* environment. > > the mono build search for a working python3 and find *my* > > HOME/ext/x86

Re: Division-Bug in decimal and mpmath

2024-12-15 Thread Oscar Benjamin via Python-list
On Sat, 14 Dec 2024 at 19:02, Mark Bourne via Python-list wrote: > > Martin Ruppert wrote: > > Hi, > > > > the division 0.4/7 provides a wrong result. It should give a periodic > > decimal fraction with at most six digits, but it doesn't. > > > > B

Re: Division-Bug in decimal and mpmath

2024-12-15 Thread Mark Bourne via Python-list
[email protected] wrote: On 2024-12-14 at 12:08:29 +, Mark Bourne via Python-list wrote: Martin Ruppert wrote: Hi, the division 0.4/7 provides a wrong result. It should give a periodic decimal fraction with at most six digits, but it doesn't. Below is the comparis

Re: it's a shame... python error over error

2024-12-16 Thread Grant Edwards via Python-list
On 2024-12-16, aotto1968 via Python-list wrote: > If I read the answers I come to the conclusion that the "supporters" > at python doesn't ever understand the problem. You should definitely demand to speak to the manager and request your money back. -- Grant -- ht

Join us for the 2025 DIPY Workshop! - March 17-21 Online! - Early Bird Ends Jan 3rd!

2024-12-17 Thread Eleftherios Garyfallidis via Python-list
GRG <https://grg.luddy.indiana.edu/> | DIPY <http://dipy.org/> | FURY <https://fury.gl/> -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-17 Thread Michael Torrie via Python-list
On 12/16/24 12:08 AM, aotto1968 via Python-list wrote: > If I read the answers I come to the conclusion that the "supporters" at > python doesn't ever understand the problem. Sorry you feel that way. Various people gave the best advice they could based on what you had prov

Re: it's a shame... python error over error

2024-12-14 Thread Michael Torrie via Python-list
On 12/13/24 1:56 PM, aotto1968 via Python-list wrote: > the problem is *not* to setup an environment variable, the problem is that > python is *not* > able to setup the *python* environment by it self. You're mistaken in this case. Nothing you've posted indicates the problem

Re: it's a shame... python error over error

2024-12-14 Thread Michael Torrie via Python-list
On 12/14/24 2:56 AM, Peter J. Holzer via Python-list wrote: > So it might be because it's in a different directory ("HOME/ext/..." is > a relative path. That will not work in a different directory. Also > "HOME" is a strange choice for a directory name. Did

Division-Bug in decimal and mpmath

2024-12-14 Thread Martin Ruppert via Python-list
if j>0:i=i.rstrip();print(i,end=' ');print(f"calc: {z}/{nen}") j+=1 f.close() print(f"{z/nen}",end=' ');print(f"builtin: {z}/{nen}") -- [email protected] -- https://mail.python.org/mailman/listinfo/python-list

Re: Division-Bug in decimal and mpmath

2024-12-14 Thread Mark Bourne via Python-list
61);{z}/{nen}'") j=0 for i in f: if j>0:i=i.rstrip();print(i,end=' ');print(f"calc: {z}/{nen}") j+=1 f.close() print(f"{z/nen}",end=' ');print(f"builtin: {z}/{nen}") -- https://mail.python.org/mailman/listinfo/python-list

Re: it's a shame... python error over error

2024-12-14 Thread Chris Angelico via Python-list
On Sun, 15 Dec 2024 at 06:05, aotto1968 via Python-list wrote: > The CORE problem is that python3 works well in *my* environment but the > installation is done as root and root does not use *my* environment. > So, it's an environment problem, NOT a Python problem. You messed up you

Re: Division-Bug in decimal and mpmath

2024-12-14 Thread Dan Sommers via Python-list
On 2024-12-14 at 12:08:29 +, Mark Bourne via Python-list wrote: > Martin Ruppert wrote: > > Hi, > > > > the division 0.4/7 provides a wrong result. It should give a periodic > > decimal fraction with at most six digits, but it doesn't. > > > &

SQLObject 3.12.0

2024-12-20 Thread Oleg Broytman via Python-list
.lname=="Doe").count() >>> pc 1 Oleg. -- Oleg Broytmanhttps://phdru.name/[email protected] Programmers don't die, they just GOSUB without RETURN. -- https://mail.python.org/mailman/listinfo/python-list

[RELEASE] Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 are now available

2024-12-03 Thread Thomas Wouters via Python-list
Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation. Regards from your tireless, tireless release team, Thomas Wouters Ned Deily Steve Dower Pablo Galindo Salgado Łukasz Langa -- https://mail.python.org/mailman/listinfo/python-list

Re: SQLObject 3.12.0

2024-12-22 Thread Mohammadreza Saveji via Python-list
thank a lot Oleg. have a nice day. On Fri, Dec 20, 2024 at 4:56 PM Oleg Broytman via Python-list < [email protected]> wrote: > Hello! > > I'm pleased to announce version 3.12.0, the release of branch > 3.12 of SQLObject. > > > What's new in SQLObject

Re: Lengthy numbers

2024-12-22 Thread Oscar Benjamin via Python-list
On Sun, 22 Dec 2024 at 19:17, Gilmeh Serda via Python-list wrote: > > Was just playing with numbers and stumbled on something I've never seen > before. ... > > >>> 9**9**4 > Traceback (most recent call last): > File "", line 1, in > ValueEr

Tools to help with text mode (i.e. non-GUI) input

2025-01-11 Thread Chris Green via 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

Using pipx for packages as opposed to applications

2025-01-11 Thread Chris Green via Python-list
in its own environment. Can pipx help me with this? -- Chris Green · -- https://mail.python.org/mailman/listinfo/python-list

Re: subprocess.Popen does not launch audacity

2025-01-10 Thread Tim Johnson via 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

Re: subprocess.Popen does not launch audacity

2025-01-10 Thread Left Right via Python-list
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

Re: Using pipx for packages as opposed to applications

2025-01-12 Thread Left Right via 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

Re: subprocess.Popen does not launch audacity

2025-01-10 Thread Thomas Passin via Python-list
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

How to properly use py-webrtcvad?

2025-01-22 Thread marc nicole via 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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Grant Edwards via Python-list
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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Mats Wichmann via Python-list
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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-17 Thread Keith Thompson via Python-list
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, >>> >>>

Re: Struggling to understand Callable type hinting

2025-01-18 Thread Ian Pilcher via 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

[SOLVED] Struggling to understand Callable type hinting

2025-01-18 Thread Ian Pilcher via Python-list
r user interface is intuitive in retrospect ... it isn't intuitive ==== -- https://mail.python.org/mailman/listinfo/python-list

Struggling to understand Callable type hinting

2025-01-17 Thread Ian Pilcher via Python-list
your user interface is intuitive in retrospect ... it isn't intuitive ======== -- https://mail.python.org/mailman/listinfo/python-list

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-20 Thread Chris Green via 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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-20 Thread Lele Gaifax via Python-list
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

Re: bool type have big problem. finally program returned "True".Is this the TRUE spec?

2025-01-20 Thread Alan Bawden via 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

Any way to "subclass" typing.Annotated?

2025-01-28 Thread Ian Pilcher via Python-list
=== If your user interface is intuitive in retrospect ... it isn't intuitive ==== -- https://mail.python.org/mailman/listinfo/python-list

Re: Using pipx for packages as opposed to applications

2025-01-13 Thread Thomas Passin via Python-list
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"

Re: Complete working version of cython Queue example?

2025-01-13 Thread Thomas Passin via Python-list
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

RE: Tools to help with text mode (i.e. non-GUI) input

2025-01-13 Thread Alan Gauld via Python-list
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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-13 Thread Grant Edwards via Python-list
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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-14 Thread Alan Gauld via Python-list
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

Re: Using pipx for packages as opposed to applications

2025-01-13 Thread Chris Green via Python-list
by the way, on (probably) just a couple of Linux systems. -- Chris Green · -- https://mail.python.org/mailman/listinfo/python-list

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-13 Thread Chris Green via Python-list
[email protected] 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

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Mats Wichmann via 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

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Christian Buhtz via 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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-14 Thread Grant Edwards via Python-list
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

Installing Python-3.10.16

2025-01-14 Thread roc str via 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

Re: Tools to help with text mode (i.e. non-GUI) input

2025-01-14 Thread Chris Green via 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

Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Chris Green via Python-list
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

Re: Installing Python-3.10.16

2025-01-14 Thread Mats Wichmann via Python-list
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

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Thomas Passin via 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

Re: No module name mutagen

2025-01-01 Thread Tim Johnson via Python-list
Happy New Year, one and all. :) Tim -- https://mail.python.org/mailman/listinfo/python-list

Re: No module name mutagen

2024-12-31 Thread Thomas Passin via Python-list
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

<    48   49   50   51   52   53   54   55   56   57   >