On Sun, 19 Oct 2025 10:01:16 -0400, songbird wrote:
Lawrence D?Oliveiro wrote:
Formatting an integer with 3 digits, excluding base specifier:
>>> "%#0.3x" % 2
'0x002'
No equivalent to this in any of the other ways that Python allows for
formatting:
Why not?
We already have printf-style formatting in Python, that?s what I was using above.
--- PyGate Linux v1.5
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)