In <[EMAIL PROTECTED]>, SpreadTooThin
wrote:

> I have some code...
> 
> import array
> 
> a = array.array('d')
> f = open('file.raw')
> a.fromfile(f, 10)
> 
> now I need to convert them into floats (32 bit...) what do i do?

What about:

b = array.array('f', a)

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to