Comparing Python: Do Other Coding Languages Measure Up?

Language is everything, spoken or computer. Computer languages are the focus of comparing Python to older and newer interpreted languages. The other programming languages consist of — Common Lisp, Scheme, C++, Perl, Tcl, Java, and JavaScript. The different aspects come into play when comparing, such as — training, availability, cost, and actual emotional attachment to […]

Continue Reading

Beautiful soup findall CSS files

BeautifulSoup is a python class that takes HTML and returns a tree of objects. You can then search that tree to find HTML tags (which is pretty mega easy.) Here is a little example that downloads the msn.com web page, parses it using BS and grabs all the LINK tags that are linking to a CSS file: from BeautifulSoup import BeautifulSoup import urllib2url = “http://www.msn.com” request = urllib2.Request(url) […]

Continue Reading