ANN: EmPy 4.2 -- a powerful, robust and mature templating system for Python

2024-08-25 Thread Erik Max Francis via Python-list
# EmPy 4.2 release announcement I'm pleased to announce the release of EmPy 4.2. The 4._x_ series is a modernization of the software and a revamp of the EmPy system to update its feature set and make it more consistent with the latest Python versions and practices. EmPy 4._x_ was also relicense

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-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 Marco Moock via Python-list
On 20.08.2024 um 23:26 Uhr 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 prefer I p

Re: new here

2024-08-25 Thread Keith Thompson via Python-list
Lawrence D'Oliveiro writes: > On 23 Aug 2024 03:43:15 GMT, rbowman wrote: >> I am confused by the cross-over to Python-list. I only read/post to >> comp.lang.python. Is that echoed to Python-list or vice versa? > > This has been happening, without asking our permission, for years. The comp.lang.p

RE: new here

2024-08-25 Thread AVI GROSS via Python-list
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 uses? I read about them ages ago but wonder ... -Original

Re: Is there a better way? [combining f-string, thousands separator, right align]

2024-08-25 Thread Pierre Fortin via Python-list
On Sun, 25 Aug 2024 15:12:20 GMT Gilmeh Serda via Python-list wrote: >Subject explains it, or ask. > >This is a bloody mess: > s = "123456789" # arrives as str f"{f'{int(s):,}': >20}" >' 123,456,789' > Oops.. forgot comma f"{int(s):>20,}" -- https://mail.python.org/mailman/li

Re: Is there a better way? [combining f-string, thousands separator, right align]

2024-08-25 Thread MRAB via Python-list
On 2024-08-25 16:12, Gilmeh Serda via Python-list wrote: Subject explains it, or ask. This is a bloody mess: s = "123456789" # arrives as str f"{f'{int(s):,}': >20}" ' 123,456,789' You don't need to format twice; you can combine them: >>> s = "123456789" >>> f'{int(s): >20,}' '

Re: new here

2024-08-25 Thread dn via Python-list
It appears there were some delays in the email/servers. Thanks for this (and earlier) ideas and advice! On 23/08/24 17:38, rbowman via Python-list wrote: 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 ins

Re: new here

2024-08-25 Thread MRAB via Python-list
On 2024-08-26 02:29, AVI GROSS via Python-list 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 uses? I

Re: Is there a better way? [combining f-string, thousands separator, right align]

2024-08-25 Thread Pierre Fortin via Python-list
On Sun, 25 Aug 2024 15:12:20 GMT Gilmeh Serda via Python-list wrote: >Subject explains it, or ask. > >This is a bloody mess: > s = "123456789" # arrives as str f"{f'{int(s):,}': >20}" >' 123,456,789' > f"{s:>20}" -- https://mail.python.org/mailman/listinfo/python-list

RE: new here

2024-08-25 Thread AVI GROSS via Python-list
Thank you Michael. Embedded Controllers are something I personally have never had to deal with, except as an inviable part of things I use. But, yes, things like that when cheap enough, make plenty of sense. -Original Message- From: Python-list On Behalf Of MRAB via Python-list Sent: