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

2022-05-16 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 uses

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

2022-05-16 Thread hongy...@gmail.com
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 uses the repr() of the structure and > its contents -- theoretically a fo

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

2022-05-16 Thread hongy...@gmail.com
On Tuesday, May 17, 2022 at 7:11:24 AM UTC+8, 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 le

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

2022-05-16 Thread hongy...@gmail.com
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 uses the repr() of the structure and > its contents -- theoretically a fo

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

2022-05-16 Thread hongy...@gmail.com
On Tuesday, May 17, 2022 at 8:48:27 AM UTC+8, Dennis Lee Bieber wrote: > On Mon, 16 May 2022 17:22:17 -0700 (PDT), "hongy...@gmail.com" > declaimed the following: > > > > > >I tried with the repr() method as follows, but it doesn't give any output: > I have no idea what 50% of those libraries

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

2022-05-16 Thread Dennis Lee Bieber
On Mon, 16 May 2022 02:03:26 -0700 (PDT), "hongy...@gmail.com" declaimed the following: >print(lst) Printing higher level structures uses the repr() of the structure and its contents -- theoretically a form that could be used within code as a literal. If you want human-readable str() yo

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

2022-05-16 Thread Dennis Lee Bieber
On Mon, 16 May 2022 17:22:17 -0700 (PDT), "hongy...@gmail.com" declaimed the following: > >I tried with the repr() method as follows, but it doesn't give any output: I have no idea what 50% of those libraries are supposed to do, and am not going to install them just to try out your po

Re: tail

2022-05-16 Thread Marco Sulla
On Fri, 13 May 2022 at 12:49, <2qdxy4rzwzuui...@potatochowder.com> wrote: > > On 2022-05-13 at 12:16:57 +0200, > Marco Sulla wrote: > > > On Fri, 13 May 2022 at 00:31, Cameron Simpson wrote: > > [...] > > > > This is nearly the worst "specification" I have ever seen. > > > You're lucky. I've seen

Python

2022-05-16 Thread philippe descharmes
‌ ‌ ‌Hello,  in coding, may be is a question of transivity in this code line. Thank you. Philippe -- https://mail.python.org/mailman/listinfo/python-list

Re: EAFP

2022-05-16 Thread Peter Otten
On 13/05/2022 18:37, bryangan41 wrote: Is the following LBYL:foo = 123if foo < 200:    do()If so, how to change to EAFP?Thanks!Sent from Samsung tablet. The distinction between look-before-you-leap and easier-to-ask-forgiveness-than-permission is weaker than yo might expect. When you write f