[SciPy-user] force to scientific output

Nils Wagner nwagner at mecha.uni-stuttgart.de
Mon Oct 17 09:20:21 CDT 2005

Christian Meesters wrote:
>This is totally off-topic, but I guess chances are that some of you 
>know an answer.
>I need to write an output file for a command line tool which requires a 
>column of floats - in so called scientific notation (4.23e-2 instead of 
>0.0423). Is there a way to dump numbers like this to a file?
>SciPy-user mailing list
>SciPy-user at scipy.net
from scipy import *
a = rand(10)


More information about the SciPy-user mailing list