Output: Number of digits in exponent?

2005-12-06 Thread Jens Bloch Helmers
How can I control the number of digits in the exponent when writing floats to a file? It seems that Python2.4.2(winXP) prints three digits anyway. print 1.0e50 1e+050 print '%e' % (1.0e50) 1e+050 I would prefer two digits in the exponent. Usually 3 digits is not a problem, except for waisted

2.4 or 2.3.4 for 2.3 software?

2004-12-01 Thread Jens Bloch Helmers
Can we expect the current release of 2.4 to be just as reliable as 2.3.4 for 2.3 compliant software? Thanks for any help! Jens -- http://mail.python.org/mailman/listinfo/python-list