Hi there,
I am totally new in Python. What I am trying to do is the following:
I have in a file various email addresses. The file look like
manolis@gmail.com
giannis@gmail.com
kostas@yahoo.com
eirini@yahoo.com
ssss@aol.com
wertza@yahoo.gr
xristhanthi@gmail.com
and I want to count how many addresses belong to each provider.
Eg.
aol.com: 1
gmail.com :3
yahoo.com: 2
yahoo.gr: 1
I tried by using split, and word count but no luck.
Can somebody help me please?