No description
|
efef
52139e5e64
allow txt files with username next to email
In this updated script, the read_emails function uses a regular expression to extract email addresses from lines that may contain additional information (such as names). This ensures the script can handle entries in the format name <email>. The rest of the script remains unchanged and will compare the sets of email addresses as before. |
||
|---|---|---|
| compare_emails.py | allow txt files with username next to email | |
| README.md | origin added | |
How to run
Have two .txt files with emailadresses
./compare_emails.py list1.txt list2.txt Comparison between 'list1.txt' and 'list2.txt':
- Emails only in 'list1.txt':
- a.b@university.nl
- h.teunis@school.nl
- Emails only in 'list2.txt':
- a.a.b@university.nl
This script was created by openAI (chatgpt)