Thread Python 3.6 bekommt String-Interpolation (3 answers)
Opened by betterworld at 2016-04-02 20:30

Gast janus
 2016-04-03 07:26
#184340 #184340
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
print render(q(
Name: %name%
PLZ:  %plz%
Ort:  %ort%
), {
    plz  => '04040',
    name => 'Otto',
    ort  => 'Hamburg'
});


finde ich deutlich besser.
Last edited: 2016-04-03 08:50:24 +0200 (CEST)

View full thread Python 3.6 bekommt String-Interpolation