[SciPy-user] force to scientific output
meesters at uni-mainz.de
Mon Oct 17 09:28:24 CDT 2005
Ouch! Stupid me. Sometimes it's better to just leave the lab, hm?
On 17 Oct 2005, at 16:20, Nils Wagner wrote:
> 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
>> column of floats - in so called scientific notation (4.23e-2 instead
>> 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)
> SciPy-user mailing list
> SciPy-user at scipy.net
More information about the SciPy-user