Python How Can I Convert This Output To Binary Stack Overflow

Python How Can I Convert This Output To Binary Stack Overflow