I have a problem in Python 3.5 (PyCharm)  when i run the program it finds class "link" but... it also find class "link link2"
there is the code 
for link in soup.findAll("a", {'class': 'link'}):


How to remove the "link link2" class ?

And one more thing ... how the hell i put my results into a text file ?
Sorry for my eng. i'm from Romania.