discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Adding a python block


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Adding a python block
Date: Sat, 17 Apr 2010 15:20:36 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre



modulator = gnuradio.blks2impl.d16psk.d16psk_mod(.....)


This would only work if each one of those tokens was actual a python module/package with an __init__.py in it. But since its not, you have to treat it like a directory structure:

from gnuradio.blks2impl.d16psk import d16psk_mod

modulator = d16psk_mod(....)

-Josh




reply via email to

[Prev in Thread] Current Thread [Next in Thread]