[Tutor] How to run this block of code dozens of times

eryksun eryksun at gmail.com
Mon Sep 17 11:46:36 CEST 2012


On Sun, Sep 16, 2012 at 11:17 PM, Steven D'Aprano <steve at pearwood.info> wrote:
>
> Other uses are:
>
> * a single leading underscore usually means "private, don't touch"
>
> * double leading and trailing underscore names have special meaning
>   to Python, e.g.:

There's also the _() function for I18N:

http://docs.python.org/library/gettext.html#gettext.install
http://docs.python.org/library/gettext.html#internationalizing-your-programs-and-modules


More information about the Tutor mailing list