Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''
- Zbiór maili z arkusza excel został przefiltrowany.
- Usuniete zostały wszystkie puste komórki.
- Maile zostały przekopiowane do pliku emails.txt
- '''
- import urllib.request
- path ="C:/Users/Adam/Desktop/DBMS/emails.txt"
- #print(path)
- file = open(path , 'r')
- for line in file:
- where_at = line.find('@')
- website = line[where_at+1:]
- print('http://'+website)
- #urllib.request.urlopen('http://'+website)
- #print (list_of_emails)
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement