BeautifulSoup: get css classes from html
===

Is there a way to get CSS classes from a HTML file using BeurtifulSoup? Example snippet:


    <style type="text/css">
    
     p.c3 {text-align: justify}
    
     p.c2 {text-align: left}
    
     p.c1 {text-align: center}
    
    </style>

Pointers much appriciated!

