[IronPython] Asterix in formatting printing
Paparipote .
paparipote at hotmail.com
Tue Jan 24 19:31:04 CET 2006
Hello:
In CPython I have the next result:
>>>print "%0*d" % (6, 23)
000023
In IP I have the next:
>>>print "%0*d" % (6, 23)
Traceback (most recent call last):
File , line 0, in input##52
NotImplementedError: * for precision
>>>
Or in CPyhton:
>>>print '"%0*s", "%-*s"' % (5, "Hola", 10, "Iron")
" Hola", "Iron "
>>>
in IP:
>>>print '"%0*s", "%-*s"' % (5, "Hola", 10, "Iron")
Traceback (most recent call last):
File , line 0, in input##54
NotImplementedError: * for precision
>>>
Best regards,
_________________________________________________________________
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
YupiMSN Compras: http://latam.msn.com/compras/
More information about the Ironpython-users
mailing list