有个文件的结构如下
The Cunctator 334555717
64.38.175.xxx 334555718
The Cunctator 334555718
The Cunctator 334555720
The Cunctator 334555721
AxelBoldt 334555723
The Cunctator 334555723
对于相同的id而言,我只需要保存最后一个id的数据,请问该怎么用python处理。比如上面的结果应该为:
The Cunctator 334555717
The Cunctator 334555718
The Cunctator 334555720
The Cunctator 334555721
The Cunctator 334555723
Gelung, id digunakan sebagai kunci kamus, lintasi
Pengekodan mudah alih belum diuji