Re: Now for something completely different...

2022-05-22 Thread MRAB
On 2022-05-23 00:30, Chris Angelico wrote: On Mon, 23 May 2022 at 09:19, Skip Montanaro wrote: That's not too informative (other than its relationship to moi), and I have room for probably four or five more characters. (I have a graphic artist in mind, so the space need not strictly be text eit

Re: Now for something completely different...

2022-05-22 Thread Chris Angelico
On Mon, 23 May 2022 at 09:19, Skip Montanaro wrote: > That's not too informative (other than its relationship to moi), and I have > room for probably four or five more characters. (I have a graphic artist in > mind, so the space need not strictly be text either.) Aww, not enough room to say "stra

Re: how to distinguish return from print()

2022-05-22 Thread Chris Angelico
On Mon, 23 May 2022 at 09:23, Stefan Ram wrote: > You are making it extra hard by wording the question in this > way. "What's the difference between the moon and liberty?". Uh ... > > It's much easier to explain the moon and liberty separately. "You can't tell the difference between a lump

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

2022-05-22 Thread hongy...@gmail.com
On Thursday, May 19, 2022 at 5:26:25 AM UTC+8, Cousin Stanley wrote: > #!/usr/bin/env python3 > > ''' > NewsGroup comp.lang.python > > Subject .. Convert the decimal numbers > expressed in a numpy.ndarray > into a matrix representing elements > in fractiona > Date . 2022-05-

Fwd: Could not load correctly

2022-05-22 Thread Robert Loomis
Forwarded Message Subject:Could not load correctly Date: Sat, 21 May 2022 10:58:39 -0400 From: Robert Loomis Reply-To: b...@loomisengineering.com To: python-list@python.org I am new to python.I tried to download it to a virtual environment since I h

how to distinguish return from print()

2022-05-22 Thread Meredith Montgomery
Students seeing a programming language for the first time and using Python's REPL for the first time have asked me what is the difference between a return statement and a print() call. They got a point. --8<---cut here---start->8--- def f(x): return x + 1

Now for something completely different...

2022-05-22 Thread Skip Montanaro
This isn't really Python-related, but I don't wander around any more general software engineering/computer science places on the web, so I will throw this out here. I start a framebuilding class next week (lugged steel construction for those into bikes). After about three weeks of work, I should h