I feel your pain...
On Fri, 3 Dec 2021 at 20:28, John Pierce <[email protected]> wrote:
> k, answering own question after some googling and guessing.... *gawd*
> I remember why I spent the last 10-15 years of my engineering career
> disliking Python
>
> #set $y = "{:.2f}".format($x)
>
> and using $y instead of $x in all those bold places in my previous post.
>
> in what sane language would "formatstring".format(value) make sense ?
> sure, I could see value.format("formatstring"), but really, what is wrong
> with format(value, "format") ??
>
> oh never mind, just chalk this up to another crotchety old greybeard who
> started on FORTRAN and Assembler in the 1970s and managed to stay gainfully
> employed cranking out low level systems code for 45 years.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/ba1b1b4d-59a3-49fa-8b11-1156ac35120cn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/ba1b1b4d-59a3-49fa-8b11-1156ac35120cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
"I and the public know
what all schoolchildren learn
Those to whom evil is done
Do evil in return" W.H. Auden, "September 1, 1939"
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CA%2BxzKjAbu_sdUc46guPtGSjYrf2m9u_qqhA%3D-775s0PsykDZMA%40mail.gmail.com.