Re: learning Python

2024-10-29 Thread rbowman via Python-list
On Tue, 29 Oct 2024 16:05:53 -0600, Mats Wichmann wrote: > Frankly, the mountain of resources is so vast that none of us can have > experience of more than a small fraction, and effective learning is a > factor not only of the quality of the teacher/book/training course, but > how it meshes with y

Re: Old matplotlib animation now fails

2024-10-18 Thread rbowman via Python-list
On Wed, 16 Oct 2024 23:30:42 +0100, Chris Townley wrote: > Not sure about America, but the bee's knees is still in common use in > the UK https://en.wikipedia.org/wiki/Bee's_knees That version? A local bakery makes a honey flavored pastry they call 'bee's knees' but using it in a conversation w

Re: Old matplotlib animation now fails

2024-10-16 Thread rbowman via Python-list
On 16 Oct 2024 08:20:10 GMT, Martin Schöön wrote: > Den 2024-10-15 skrev Stefan Ram : >> Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= wrote or >> quoted: >>>l.set_data(x0, y0) >> >> Well, I got to say, it's pretty rad that you're rocking Python! >> That language is the bee's knees, for real. >> >> A

Re: Script stops running with no error

2024-08-28 Thread rbowman via Python-list
On Wed, 28 Aug 2024 22:09:56 +0100, Daniel wrote: > if definition: > print(f"\n{word_type.capitalize()}\n") > print("\n".join(definition)) > break I don't know if that was intended but the 'break' kicks you out of

Re: new here

2024-08-28 Thread rbowman via Python-list
On Wed, 28 Aug 2024 08:41:28 +0100, Daniel wrote: > That is so cool. I've had the same idea to use the API with AWS for my > bbs. I also want to do the same thing for other government sites like > ecfr for pulling aviation regulations. > > Is your code somewhere I can look at it? The NOAA? I di

Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)

2024-08-26 Thread rbowman via Python-list
On Sun, 25 Aug 2024 23:49:48 - (UTC), Lawrence D'Oliveiro wrote: > The irony of my putdown is that PHP can do it about as simply. But don’t > expect your typical PHP programmers to know that ... It has had amazing longevity for something that was born as Personal Home Page. -- https://mail

Re: new here

2024-08-26 Thread rbowman via Python-list
On Sun, 25 Aug 2024 21:29:30 -0400, avi.e.gross wrote: > If everyone will pardon my curiosity, who and what purposes are these > smaller environments for and do many people use them? > > I mean the price of a typical minimal laptop is not a big deal today. So > are these for some sort of embedded

Re: new here

2024-08-25 Thread rbowman via Python-list
On Fri, 23 Aug 2024 16:23:42 +1200, dn wrote: > Adding a display to the Pico-W is my next project... After that, gyros > (am thinking it may not go so well, on balance... hah!). https://toptechboy.com/two-axis-tilt-meter-displaying-pitch-and-roll- using-an-mpu6050-on-the-raspberry-pi-pico-w/ You

Re: new here

2024-08-25 Thread rbowman via Python-list
On Thu, 22 Aug 2024 19:56:54 -0700, Paul Rubin wrote: > With MicroPython on the Pico, you use some command line utility to > transfer files instead, but it is no big deal. Loading the UF2 is easy. https://www.raspberrypi.com/documentation/microcontrollers/ micropython.html I use VS Code with th

Re: new here

2024-08-22 Thread rbowman via Python-list
On Fri, 23 Aug 2024 08:36:02 +1200, dn wrote: > On 23/08/24 07:49, rbowman via Python-list wrote: >> On Thu, 22 Aug 2024 10:40:52 -0700, Paul Rubin wrote: >> >>> The Pico uses MicroPython which is stuck on an old version of Python, >>> unfortunately. > &

Re: new here

2024-08-22 Thread rbowman via Python-list
On Thu, 22 Aug 2024 09:10:00 +0100, Daniel wrote: > If you have lynx, you can visit this gopher interface to Wikipedia: > > gopher://gopherpedia.com Yeah, that works and I could find Hillbilly Elegy (film). The text was fine but the 'Accolades' table was garbled. It came up on the Netflix reco

Re: new here

2024-08-22 Thread rbowman via Python-list
On Thu, 22 Aug 2024 10:40:52 -0700, Paul Rubin wrote: > The Pico uses MicroPython which is stuck on an old version of Python, > unfortunately. I think it's up to 3.4 in general and erratic past that. It doesn't have the match from 3.10. I don't think it has f-strings though it may have the wal

Re: new here

2024-08-22 Thread rbowman via Python-list
On Thu, 22 Aug 2024 13:43:59 +1200, dn wrote: > The OpSys on this machine no longer features finger (available for > installation as an 'extra'). My Ubuntu 22.04 box has it, the Fedora 40 one doesn't. Ubuntu offers to install gopher, Fedora doesn't. Go figure. -- https://mail.python.org/mailma

Re: new here

2024-08-22 Thread rbowman via Python-list
On Wed, 21 Aug 2024 22:15:37 +0100, Daniel wrote: > Lesser used protocols not known by many in the mainstream. Such as: > > gopher, gemini, finger, spartan, titan, etc. > > An example of use, here's a weather service tied to a finger. Put your > city name as the user. This isn't mine, but it is

Re: new here

2024-08-22 Thread rbowman via Python-list
On Wed, 21 Aug 2024 22:04:14 +0100, Daniel wrote: > I am on forums but tend to stay away from them unless I absolutely have > to. I like newsgroups as they are - though I have noticed a massive drop > in users ever since Google dropped their groups service. I also saw a > minor drop in spam. Abso

Re: new here

2024-08-20 Thread rbowman via Python-list
On Tue, 20 Aug 2024 23:16:48 -0400, avi.e.gross wrote: > I do wonder if the people at python.org want multiple forums. There is > also one that sort of tutors people that obviously has an overlapping > but different audience. https://realpython.com/ That's a mixed bag. Joining is $50 USD/month o

Re: new here

2024-08-20 Thread rbowman via Python-list
On Tue, 20 Aug 2024 23:26:39 +0100, Daniel wrote: > New here. I've perused some posts and haven't seen a posting FAQ for > this NG. I'm learning python right now to realize some hobby goals I > have regarding some smolnet services. What are the NG standards on > pasting code in messages? Do yall p

Re: How/where to store calibration values - written by program A, read by program B

2023-12-28 Thread rbowman via Python-list
On Wed, 27 Dec 2023 03:53:42 -0600, Greg Walters wrote: > The biggest caveat is that the shared variable MUST exist before it can > be examined or used (not surprising). There are a few other questions. Let's say config.py contains a variable like 'font' that is a user set preference or a calibr

Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more

2023-12-25 Thread rbowman via Python-list
On Sun, 24 Dec 2023 22:55:34 +, Barry wrote: >> On 24 Dec 2023, at 00:54, rbowman via Python-list >> wrote: >> >> Does that work with virtualenv or conda? I'm slowly getting up to speed >> with those. > > Conda is its own thing, not need for py.exe

Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more

2023-12-23 Thread rbowman via Python-list
On Fri, 22 Dec 2023 17:27:58 -0700, Michael Torrie wrote: > Using the py launcher as your Windows association with .py and.pyw files > you can have multiple versions of python installed and everything works > as it should, according to your shebang, just like on Unix. Does that work with virtuale

Re: Checking if email is valid

2023-11-06 Thread rbowman via Python-list
On Tue, 7 Nov 2023 12:11:18 +1300, Greg Ewing wrote: > On 6/11/23 6:34 pm, rbowman wrote: >> We've found even if you directly ask the user often the answer is 'I >> dunno' or some mythology they have constructed to explain the problem. > > This seems to apply to hardware issues as well. Louis Ros

Re: Checking if email is valid

2023-11-06 Thread rbowman via Python-list
On Sun, 5 Nov 2023 19:22:49 -0600, D'Arcy Cain wrote: > Gotta wonder for sure. It could also be the case of programmers > depending on user input but the users insist on living with the bugs > and/or working around them. We made crash reporting dead simple to > report on and still users didn't b