USB – Device serial number

With this python script you can retrieve serialnumber from USB devices (if present), you need to install pyusb first:

sudo pip install pyusb

Please note: You must run the python script with SUDO in front, otherwise you have no access to the devices and may result in an error!