find MAC of Bluetooth device on Windows

PyBluez can work on Windows as well as Linux.

To just find the MAC address of a Bluetooth device quickly in Windows, look under:

Windows Device Manager, Bluetooth, (select device in list), Properties, Details, Bluetooth Device Address

It’s possible to read Bluetooth headset battery level without using PyBluez.

However, since Python socket.AF_BLUETOOTH only exists when the Bluetooth development library is installed into Python, this doesn’t generally work for Windows.