mirror of
https://github.com/Kludex/awesome-fastapi-projects.git
synced 2024-11-23 20:11:07 +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()
|