Manipulating data at the binary level

Greetings fellas!
I want to write and read data at the byte level.
The same wait I say a= 1, and b = “d” as int and str, I want to write e=(00001110) and be interpreted as a byte.
Is it possible? Can I index a byte?
Sorry for posting here, possibly on the wrong place, but I need help a bit urgently!
Thank you for your help!

look here: its python stuff! http://docs.python.org/release/3.1.3/library/functions.html