On 10/05/2011 11:50 PM, adeel anwar wrote:
> Using GRC "import block", i want to import some custom modules from a local
> directory
> (same directory contains grc files and other files that needs to be
> imported), but it is giving error.
> As i understood, GRC doesn't recognizes the directory in which we save
> '*.grc' as its working directory
> How can i import these modules?
> 
>   Regards
>          Adeel
> 
> 

As with all things python. Put the modules in your PYTHONPATH. If you
can import the module from a python shell, it will work in GRC.

-josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to