Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет LWN.net ([info]syn_lwnheadline)
@ 2015-09-10 13:08:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
[$] Easier Python string formatting
Some languages pride themselves on providing many ways to accomplish any
given task. Python, instead, tends to focus on providing a single solution
to most problems. There are exceptions, though; the creation of formatted
strings would appear to be one of them. Despite the fact that there are
(at least) three mechanisms available now, Python's developers have just
adopted a plan to add a fourth.
With luck, this new formatting mechanism (slated for Python 3.6) will
improve the traditionally cumbersome string-formatting facilities available
in Python.


(Читать комментарии) (Добавить комментарий)