mirror of
https://github.com/Kludex/awesome-fastapi-projects.git
synced 2024-11-24 04:21:09 +00:00
14 lines
204 B
Python
14 lines
204 B
Python
f_in = open("links.txt", "r")
|
|
f_out = open("unique_links.txt", "w")
|
|
|
|
links = set()
|
|
|
|
for line in f_in.readlines():
|
|
links.add(line)
|
|
|
|
for link in links:
|
|
f_out.write(link)
|
|
|
|
f_in.close()
|
|
f_out.close()
|