def compressnumbers(s):
    """Take a string that's got a lot of numbers and try to make something 
        that represents that number. Tries to make
        unique strings from things like usb-0000:00:14.0-2
    
    """
    n = ''
    currentnum = ''
    for i in s:
        if i in '0123456789':
            if currentnum or not i == '0':
                currentnum += i
        else:
            n += currentnum
            currentnum = ''
    return n + currentnum
