Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Michael Torrie
On 5/17/22 05:20, o1bigtenor wrote: > What can I do to correct this self-inflicted problem? Those are always the fun ones. Reminds me of when I was first learning Linux using Red Hat Linux 5.0 or 5.1. This was long before nice dependency-solving tools like apt. I wanted to install and run

Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Chris Angelico
On Wed, 18 May 2022 at 04:05, Loris Bennett wrote: > > [snip (26 lines)] > > > I think you had a problem before that. Debian testing is not an > > operating system you should be using if you have a fairly good > > understanding of how Debian (or Linux in general) works. > > Should be > > I

Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Chris Angelico
On Wed, 18 May 2022 at 04:05, Loris Bennett wrote: > > So now I have problems. > > I think you had a problem before that. Debian testing is not an > operating system you should be using if you have a fairly good > understanding of how Debian (or Linux in general) works. I take issue with that!

Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Grant Edwards
On 2022-05-17, Loris Bennett wrote: > It might be possible to fix the system. If will probably be fairly > difficult, but you would probably learn a lot doing it. However, if I > were you, I would just install Debian stable over your borked system and > then learn a bit more about package

[Python-announce] [RELEASE] Python 3.9.13 is now available

2022-05-17 Thread Łukasz Langa
This is the thirteenth maintenance release of Python 3.9. Get it here: Python 3.9.13 According to the release calendar specified in PEP 596 , Python 3.9.13 is the final regular maintenance release.

Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Loris Bennett
o1bigtenor writes: > Greetings > > I was having space issues in my /usr directory so I deleted some > programs thinking that the space taken was more an issue than having > older versions of the program. > > So one of the programs I deleted (using rm -r) was python3.9. Deleting anything from

Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Loris Bennett
[snip (26 lines)] > I think you had a problem before that. Debian testing is not an > operating system you should be using if you have a fairly good > understanding of how Debian (or Linux in general) works. Should be I think you had a problem before that. Debian testing is not an

[RELEASE] Python 3.9.13 is now available

2022-05-17 Thread Łukasz Langa
This is the thirteenth maintenance release of Python 3.9. Get it here: Python 3.9.13 According to the release calendar specified in PEP 596 , Python 3.9.13 is the final regular maintenance release.

Re: Convert the decimal numbers expressed in a `numpy.ndarray` into a matrix representing elements in fractional form

2022-05-17 Thread MRAB
On 2022-05-17 16:21, Peter J. Holzer wrote: On 2022-05-16 20:48:02 -0400, Dennis Lee Bieber wrote: On Mon, 16 May 2022 17:22:17 -0700 (PDT), "hongy...@gmail.com" declaimed the following: >a=re.sub(r"'","",a) Explain what you believe this operation is doing, show us the input and the

Re: Convert the decimal numbers expressed in a `numpy.ndarray` into a matrix representing elements in fractional form

2022-05-17 Thread Peter J. Holzer
On 2022-05-16 20:48:02 -0400, Dennis Lee Bieber wrote: > On Mon, 16 May 2022 17:22:17 -0700 (PDT), "hongy...@gmail.com" > declaimed the following: > >a=re.sub(r"'","",a) > > Explain what you believe this operation is doing, show us the input and > the output. > > The best I can make

Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Chris Angelico
On Tue, 17 May 2022 at 21:22, o1bigtenor wrote: > > Greetings > > I was having space issues in my /usr directory so I deleted some > programs thinking that the space taken was more an issue than having > older versions of the program. > > So one of the programs I deleted (using rm -r) was

Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Martin Di Paola
Try to reinstall python and only python and if you succeeds, then try to reinstall the other tools. For this, use "apt-get" instead of "apt" $ sudo apt-get reinstall python3 When a system is heavily broken, be extra careful and read the output of the programs. If "apt-get" says than in order

Request for assistance (hopefully not OT)

2022-05-17 Thread o1bigtenor
Greetings I was having space issues in my /usr directory so I deleted some programs thinking that the space taken was more an issue than having older versions of the program. So one of the programs I deleted (using rm -r) was python3.9. Python3.10 was already installed so I thought (naively!!!)

Re: Seeking deeper understanding of python equality (==)

2022-05-17 Thread Jonathan Kaczynski
Thank you for your response Eryk. I did try using gdb in my original post, but using breakpoint() left me in the python layer (pdb), not the cpython layer (gdb) and I couldn't figure out how to drop down. I see you're using the kernel32 library, so I assume you're on windows. I only have a mac

Re: Convert the decimal numbers expressed in a `numpy.ndarray` into a matrix representing elements in fractional form

2022-05-17 Thread Barry
> On 17 May 2022, at 05:59, hongy...@gmail.com wrote: > > On Monday, May 16, 2022 at 11:27:58 PM UTC+8, Dennis Lee Bieber wrote: >> On Mon, 16 May 2022 02:03:26 -0700 (PDT), "hongy...@gmail.com" >> declaimed the following: >> >> >>> print(lst) >> >> Printing higher level structures