Sebastian Hungerecker
7/25/2007 9:54:00 AM
Marcin Tyman wrote:
> Robert Klemme wrote:
> > Please look for printf, sprintf and % in the docs. The last one might
> > be hard to find. You use it as: "%3d" % 1
>
> OK, Fine. But... I want to format the string not its output to redirect
> the string to a file on remote machine (the file should be formatted).
sprintf and % return a string, they don't print anything to the screen. You
can write the result of "%3d" % 1 to a file without a problem.
--
NP: Katatonia - Fractured
Ist so, weil ist so
Bleibt so, weil war so