Python: Effiziente String Konkatenation

Wie man in Python effektiv Strings konkateniert.

4 Responses to “Python: Effiziente String Konkatenation”


  1. 1 xlat

    das nenne ich mal intuitive bedienung.

  2. 2 tex

    Das nenne ich Python. Ich sag nur “import soul” [1].

  3. 3 xlat

    alter hut: dafür hab ich ein variadisches template mixin pattern in meinem cpp metaframework geschrieben

    #include <hoho/soulT.hpp>

    (yes i’m buzzing :D)

    PS: warum kann ich eigentlich html eintippen? ziemlich schwaches feature von wordpress…. siehe quelltext dieser nachricht
    <script>alert(”hacked by xlat… pure skill”)</script>

  4. 4 tex

    Die Frage habe ich mir auch gestellt als ich den Link eingegeben habe. Das ist wirklich mal schwach. Und der Code wird sogar im Admin-Interface ausgeführt. Damit sind ja mal ganz üble XSS-Attacken möglich. WordPress powered by PHP … was soll ich sonst noch sagen ;)

Leave a Reply