Sujet : Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)
De : no.email (at) *nospam* nospam.invalid (Paul Rubin)
Groupes : comp.lang.pythonDate : 25. Aug 2024, 23:07:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <878qwk9rym.fsf@nightsong.com>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
I mean, really? Four lines to do what could be done in a single
expression? Was that written by a PHP programmer, do you think?
It is not fluent Python, that's for sure. No idea about PHP though. I
have been wondering about PHP recently. The language is painful but
the implementation has some attractions and it's widely available. So
I've wondered if it might be feasible to have a front end for it similar
to Typescript or Purescript.
Is this what you had in mind?
bufferedNumber = f'{doc.GetTime().GetFrame(docFps):04}'