[COFF] Useful Shell Scripts Network Connections , Logins and Block hacking attempts
Ralph Corderoy
ralph at inputplus.co.uk
Fri May 12 18:34:37 AEST 2023
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
--
Cheers, Ralph.
More information about the COFF
mailing list