There are many ways to convert Python int to Binary String some of the important methods I am discussing here:-
The first method you can use is Python's string format method it can take a format spec:-
>>> "{0:b}".format(37)
As you have asked for bin() which is an equivalent to hex(), it was added in Python 2.6 so below is an example that illustrates the use of bin() with long value:-
>>>bin(1065587585875875875)