Taking the floating point distances and plotting histogram

aditya shukla adityashukla1983 at gmail.com
Wed Jul 23 17:02:18 EDT 2008


Hello folks:-

I have a program whose output is stored in a text file , say test.txt
eg.
0\9\10\11|0.50|c:\windows\apppatch/AcLayers.dll
0\9\10\11|0.50|c:\windows\apppatch/AcRedir.dll
0\9\10|0.66|c:\windows\apppatch/AcSpecfc.dll
0\9|0.83|c:\windows\apppatch/iebrshim.dll

After reading this text file i need to extract the float point values from
each line  ie , 0.50,0.50,0.66.0.83 respectively in this case, till the end
of the file is reached and then i need to plot a histogram based on these
values .

Please provide any hints on how to do this.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080723/26274e81/attachment.html>


More information about the Python-list mailing list