报错原因:python 中 N 是换行的意思。这里要把 N 前面的 转义一下。用 \ 代替即可。
Nokia_mac = np.loadtxt('dataoui\NokiaMac2018.txt', encoding='utf-8', dtype='str')