Re: [Discuss-gnuradio] Help:How to print the payload in benchmark_ofdm_tx.py

2007-10-17 Thread Eric Blossom
On Wed, Oct 17, 2007 at 05:07:37PM -0400, Archana Ragothaman wrote: > Hello, > > I am trying to print the payload in the send_pkt function defined in > ofdm.py(/gnuradio-core/src/python/gnuradio/blks2impl). > I have used the following lines of code in send_pkt function. > > f = open("txdata.txt",

[Discuss-gnuradio] Help:How to print the payload in benchmark_ofdm_tx.py

2007-10-17 Thread Archana Ragothaman
Hello, I am trying to print the payload in the send_pkt function defined in ofdm.py(/gnuradio-core/src/python/gnuradio/blks2impl). I have used the following lines of code in send_pkt function. f = open("txdata.txt","a") s=string(payload) f.write(s) f.close() However no file is created. I want to