[EMAIL PROTECTED] wrote:
> Hi !
> 
> I need to convert some integer values.
> 
> "1622" ->"1 622"
> 
> or
> 
> "10001234" -> ""10.001.234""
> 
> So I need thousand separators.
> 
> Can anyone helps me with a simply solution (like %xxx) ?

The module locale does what you need, look at ist docs, especially


locale.str
locale.format


Regards,

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to