[Tutor] Replacing characters

Per Jr. Greisen pgreisen at gmail.com
Fri May 25 15:47:55 CEST 2007


Hi,

I am replacing 4 characters with a number and I would like to make the
whitespace dynamic so
for fx. 1 it uses 3 whitespace and for 10 two and for 100 one etc. I am
using the replace() method.

Any help or advice appreciated

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070525/3cebaf11/attachment.htm 


More information about the Tutor mailing list