This is the function I\'m after: -
http://docs.python.org/3/library/stdtypes.html#int.to_bytes
I need big endianness support.
To answer your original question, the to_bytes method for int objects was not back ported to Python 2.7 from Python 3. It was considered but ultimately rejected. See the discussion here.
to_bytes
int