syntax questions
Andreas Kostyrka
andreas at kostyrka.priv.at
Fri Aug 2 04:03:45 EDT 2002
Am Mit, 2002-07-24 um 22.27 schrieb François Pinard:
> I'm not sure `_' is ideal in Python, even if not bad. `_' in Python has
> already the meaning, in interactive mode, of the last computation. Moreover,
> by fully being a run-time function, it is a bit late to get help from the
> Python compiler, if more sophisticated usages ever asks for such help.
Well in theory you can just do
from gettext import _ as i18n
Not sure how this works out with the "string collecting" utility.
Andreas
More information about the Python-list
mailing list