Creating a block in GRC

I am trying to build a block in,i know i need c++ and python.i
know how to write c++ programs but i dont know python so i cant
understand after writing a file in c++ how do i make it interact with
python and hence build the block.can anyone help me there a
guide or manual or something of that sort?