[COFF] Useful Shell Scripts Network Connections , Logins and Block hacking attempts
Larry McVoy
lm at mcvoy.com
Fri May 12 23:58:18 AEST 2023
On Fri, May 12, 2023 at 09:34:37AM +0100, Ralph Corderoy wrote:
> Hi Larry,
>
> > I can program in Python but I have a huge aversion to a programming
> > language that doesn't include printf in the base language.
>
> Python has Perl's sprintf() but as the ???fmt % values??? operator rather
> than a function. So it isn't just available for printing but general
> string formatting.
>
> >>> mol = '%04d' % (6 * 7)
> >>> print('%08x %-8s' % (826366246, mol))
> 31415926 0042
I'm aware, I've used it. It feels bolted on. It's still weird.
More information about the COFF
mailing list