[Tutor] '.=' in Python ?
Tadahiko 'kiko' Uehara
kikofx@nifty.com
Mon May 5 17:09:02 2003
On Mon, 5 May 2003 13:35:48 -0700 (PDT)
"Zak Arntson" <zak@harlekin-maus.com> wrote:
>
> You could also replace the modLine assignment line with
>
> modLine = '%s%s' % (text, line)
>
I'm yet not familiar with these cool way.
Howeer,It didn't work on the fly... result was just "servername = "(only 1 line).
But I'll try to figure out what these %s stuff do, so I might be able to fit it to my script. :)
Thank you!
-kiko