You are browsing the post archives

Beautiful Soup is a Python library using which you can scrape data from various webpages online. Although Python has another vast and better framework called the Scrapy for web-data scraping purposes but Beautiful Soup is a very light-weight library and does the job quickly. You can install Beautiful Soup using following two commands: Some sample…

Easter eggs are always a sweet surprise. And Python also has some. Heres a list of Python’s easter eggs. Try them out and be surprised! # Fire up the Python console and type in ‘ import __hello__ ‘ or ‘ import __phello__ ‘ and this is what you will get. It happens only on the…

Tired of iPython’s interactiveness ? Want something different and refreshing ? Get hold of bpython. bpython basically adds a fancy interface to the Python interpreter and jazzes up the old (not so inspiring) looks of it … and oh boy! I bet you will love the way it does so. If you don’t believe me…

Dive Into Python is one of the best free books available to learn this amazing programming language called Python. The book is now also available for the all new Python 3. Titled Dive into Python 3, this book is yet another masterpiece from Mark Pilgrim who has been authoring the earlier versions of this book….

You may have wanted to change the label contents of the stock item which you attached into the ImageMenuItem widget, but couldn’t find an easy way out to do it. We here present to you in simple steps a way to achieve this and set the label contents to anything you desire.

Guido Van Rossum, better known as the creator of the famous programming language, Python has expressed his feeling that Google is still a better search engine than Bing. In a tweet from his twitter account he says: “Search Bing for python prettyprinting, and compare the result with Google. See for yourself which is better. :-)”….

Hosting a web server using Python is very simple. Any default installation of Python includes a module called SimpleHTTPServer. We can make use of this module to start python and host a web server on any port as we wish. In this article we will show you how to do so.