There are too many descriptions of your problem, so I didn’t read it in detail, but if you just want to remove duplicates from the list, the following method is possible:
pythonunique_list = list(set(your_list))
PS: If you only need to remove duplicates, it is recommended to abandon python and directly use the command under the shell:
There are too many descriptions of your problem, so I didn’t read it in detail, but if you just want to remove duplicates from the list, the following method is possible:
PS: If you only need to remove duplicates, it is recommended to abandon python and directly use the command under the shell: