Python+bit generation


hi everybody

i want to desing 2x2 mimo system. first, it is necessary to generate
information bits or data to transmit 2x1 transmit antennas. But i dont
know how to generate bits or data. after this, i want to implement
Alamouti coding. i am waiting your helps. is there any document about
this ?