Re: [Python-Dev] Small lament...

2023-04-03 Thread dn via Python-list
On 04/04/2023 12.14, Guido van Rossum wrote: A bit late, this reached my inbox: https://peternorvig.medium.com/new-python-operators-9f31b56ddcc7 Did you notice that Peter Norvig's factorial-operator attempts to replace one of the very first diamond-grade provisions of [the] FLUFL? Disgracefu

Re: problems in using libraries

2023-04-03 Thread Thomas Passin
On 4/3/2023 1:25 PM, pranavbhardwaj...@gmail.com wrote: Sent from [1]Mail for Windows Why can't I able to use python libraries in my python 3.11.2. It always throw an error such as and and many more. I installed python from python official website and I i

RE: [Python-Dev] Small lament...

2023-04-03 Thread avi.e.gross
Sadly, between Daylight Savings time and a newer irrational PI π Day, I am afraid some April Foolers got thrown off albeit some may shower us with nonsense in May I. -Original Message- From: Python-list On Behalf Of Barry Warsaw Sent: Monday, April 3, 2023 8:31 PM To: Skip Montanaro

Re: [Python-Dev] Small lament...

2023-04-03 Thread Barry Warsaw
I heard it on reasonably believable authority that the FLUFL took the year off. Lamentable. -Barry > On Apr 1, 2023, at 11:19, Skip Montanaro wrote: > > Just wanted to throw this out there... I lament the loss of waking up on > April 1st to see a creative April Fool's Day joke on one or both

Re: [Python-Dev] Small lament...

2023-04-03 Thread Guido van Rossum
A bit late, this reached my inbox: https://peternorvig.medium.com/new-python-operators-9f31b56ddcc7 On Sat, Apr 1, 2023 at 11:23 AM Skip Montanaro wrote: > Just wanted to throw this out there... I lament the loss of waking up on > April 1st to see a creative April Fool's Day joke on one or both

problems in using libraries

2023-04-03 Thread pranavbhardwaj773
    Sent from [1]Mail for Windows Why can't I able to use python libraries in my python 3.11.2. It always throw an error such as   and and many more. I installed python from python official website and I installed libraries using cmd prompt by typing- pip install “L

Re: built-in pow() vs. math.pow()

2023-04-03 Thread 2QdxY4RzWzUUiLuE
On 2023-04-01 at 08:16:46 -0700, Andreas Eisele wrote: > BTW, there is another difference: built-in pow() deals with complex > arguments, while functions in math won't accept them at all. See also . -- https://mail.python.org/mailman/listinfo/python

Re: Windows Gui Frontend

2023-04-03 Thread rbowman
On Sun, 2 Apr 2023 19:52:05 +0200, Dietmar Schwertberger wrote: > On 02.04.2023 18:20, Michael Torrie wrote: >>> Well the thing is you don't need to generate Python code at all. Qt >>> provides a UI loader class that loads the UI file at run time, builds >>> the objects in memory, and connects al

Re: Problem in using libraries

2023-04-03 Thread Thomas Passin
On 4/3/2023 12:43 PM, Pranav Bhardwaj wrote: Why can't I able to use python libraries such as numpy, nudenet, playsound, pandas, etc in my python 3.11.2. It always through the error "import 'numpy' or any other libraries could not be resolved". You need to realize that no one can help you witho

Re: Python file location

2023-04-03 Thread windhorn
Thanks to all for suggestions. Linux has "too much freedom" :-) Regards, Allen -- https://mail.python.org/mailman/listinfo/python-list

Re: Windows Gui Frontend

2023-04-03 Thread rbowman
On Sun, 02 Apr 2023 13:50:45 -0700 (PDT), Grant Edwards wrote: > On 2023-04-02, Michael Torrie wrote: >> On 4/2/23 05:09, Dietmar Schwertberger wrote: >>> I also did evaluate all the GUI builder from time to time between 2000 >>> and 2016 to find one that I could recommend to colleagues, but coul

Re: Windows Gui Frontend

2023-04-03 Thread rbowman
On Sat, 1 Apr 2023 19:19:17 -0600, Michael Torrie wrote: > Qt's commerical licensing is very hostile to small companies, I can say > that much. It's too bad really. But the LGPL will work for most > companies, except for those that might wish to use the embedded version, > such as in cars where

Re: Windows Gui Frontend

2023-04-03 Thread Jach Feng
Jim Schwartz 在 2023年4月1日 星期六晚上8:00:19 [UTC+8] 的信中寫道: > I have another question. I have an app written in python, but I want to add > a windows GUI front end to it. Can this be done in python? What packages > would allow me to do that? > > > > Thanks. There is a GUI Generator for tkinter https

Hurry up! Book your spot for the DIPY Workshop in LA! April 24-28 2023!!

2023-04-03 Thread Eleftherios Garyfallidis
Dear all, Only a few spots are left. Register now: https://dipy.org/workshops/latest !!! The complete program for the highly anticipated workshop is updated and available in the link above. DIPY is a powerful software library for analyzing and processing diffusion MRI data. It is an open-sourc

Small lament...

2023-04-03 Thread Skip Montanaro
Just wanted to throw this out there... I lament the loss of waking up on April 1st to see a creative April Fool's Day joke on one or both of these lists, often from our FLUFL... Maybe such frivolity still happens, just not in the Python ecosystem? I know you can still import "this" or "antigravity"

Re: built-in pow() vs. math.pow()

2023-04-03 Thread Andreas Eisele
Andreas Eisele schrieb am Donnerstag, 30. März 2023 um 11:16:02 UTC+2: > I sometimes make use of the fact that the built-in pow() function has an > optional third argument for modulo calculation, which is handy when dealing > with tasks from number theory, very large numbers, problems from Projec

Re: Python 3.9 asyncio: Task cancel() throws asyncio.exceptions.CancelledError instead of asyncio.CancelledError

2023-04-03 Thread Clint Olsen
On Friday, March 31, 2023 at 5:51:33 PM UTC-7, Chris Angelico wrote: > Can you confirm that it is indeed failing to catch the exception? Try this: > > except asyncio.CancelledError: > print("Cancelled correctly") > > followed by the same type checking from above. Since the ID is the > same, I

Re: Windows Gui Frontend

2023-04-03 Thread rbowman
On Sat, 1 Apr 2023 10:37:34 -0500, Eryk Sun wrote: > On 4/1/23, Jim Schwartz wrote: >> I have another question. I have an app written in python, but I want >> to add a windows GUI front end to it. Can this be done in python? >> What packages would allow me to do that? > > Here are a few of th

Re: Problem in using libraries

2023-04-03 Thread Barry
> On 3 Apr 2023, at 17:46, Pranav Bhardwaj wrote: > > Why can't I able to use python libraries such as numpy, nudenet, playsound, > pandas, etc in my python 3.11.2. It always through the error "import > 'numpy' or any other libraries could not be resolved". You need to provide enough details

Problem in using libraries

2023-04-03 Thread Pranav Bhardwaj
Why can't I able to use python libraries such as numpy, nudenet, playsound, pandas, etc in my python 3.11.2. It always through the error "import 'numpy' or any other libraries could not be resolved". -- https://mail.python.org/mailman/listinfo/python-list

Problem in using libraries

2023-04-03 Thread Pranav Bhardwaj
Why can't I able to use python libraries such as numpy, nudenet, playsound, in python 3.11.2 -- https://mail.python.org/mailman/listinfo/python-list

Re: Windows Gui Frontend

2023-04-03 Thread Rolf Blum
Am 02.04.2023 um 01:13 schrieb Alan Gauld: On 01/04/2023 18:21, Jim Schwartz wrote: Are there any ide’s that will let me design the screen and convert it to python? There is nothing remotely like the VB or Delphi GUI builders. The latest Delphi versions themself can create GUIs for Python. I