import glob


WLAN_PATH = '/sys/class/net/*/wireless'

NIC_PATH = '/sys/class/net/*/device'


def wlans():

     return [b.split('/')[-2] for b in glob.glob(WLAN_PATH)]


def nics():

    return list(set([b.split('/')[-2] for b in glob.glob(NIC_PATH)]) -

                set(wlans()))


if __name__ == '__main__':

    print(wlans())

    print(nics())