Note: This Question Category is currently disabled. You cannot post anything here.


Way to create block in Python
Please\r\n tell me way to create block in python. I added code for block in \r\npython. Now i want to install this code how to do this? does cmake will \r\nrun for python? (Tell me procedure after editing code)
Sandhi


Copy all the .py extension files to following location using sudo privilege
sudo cp /path_of_your_python_files/ /usr/local/lib/python2.7/dist-packages/gnuradio/controls/
sudo cp /path_of_your_python_files/ /usr/local/lib/python2.7/dist-packages/gnuradio/
Copy all the .xml extension files to follwing location using sudo privilege
sudo cp /path_of_your_xml_files/ /usr/local/share/gnuradio/grc/blocks
Then click on blue Reload Blocks button available at Right top side then your block will appeared in right panel.
sudo cp /path_of_your_python_files/ /usr/local/lib/python2.7/dist-packages/gnuradio/controls/
sudo cp /path_of_your_python_files/ /usr/local/lib/python2.7/dist-packages/gnuradio/
Copy all the .xml extension files to follwing location using sudo privilege
sudo cp /path_of_your_xml_files/ /usr/local/share/gnuradio/grc/blocks
Then click on blue Reload Blocks button available at Right top side then your block will appeared in right panel.