[PYTHON MATRIX-SIG] printf(%.2f d) -> python

Jean-Bernard ADDOR jbaddor@phy.ulaval.ca
Mon, 26 May 1997 16:01:43 -0400 (EDT)


OK, it was on p.32 of python tutorial.

print '%2d %3d %4d' % (x, x*x, x*x*x)

	Jean-Bernard


On Mon, 26 May 1997, Jean-Bernard ADDOR wrote:

> Hi!
> 
> What is the better approch to obtain in python the same result as
> printf(...) in c ?
> 
> 
> A bientot,
> 
> 	Jean-Bernard
> 
> 
> 
> _______________
> MATRIX-SIG  - SIG on Matrix Math for Python
> 
> send messages to: matrix-sig@python.org
> administrivia to: matrix-sig-request@python.org
> _______________
> 


_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________