On 7/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using the attached code to write NTSC files from our USRP. I wanted to > convert the files to an array of doubles in Python so that I can process it > out > of the flowgraph, but can't read the file right. f.readlines() gives me lines > of text and i've tried struct.unpack with. I know there must be a way to do > this but have had no luck finding it online. Any help would be appreciated.
http://pleac.sourceforge.net/pleac_python/filecontents.html#AEN475 has an example of struct.unpack() usage. Does this help? -- -Brian _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio