% format strings

Erik Max Francis max at alcyone.com
Mon Aug 23 18:58:47 EDT 2004


grv575 wrote:

> Is
> there a way to specify the precision length for floating points in C
> format strings?

Yes, it looks the same as in Python.  Python got the notation from C.

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ My reputation grows with every failure.
    -- George Bernard Shaw



More information about the Python-list mailing list