Easier way to get BeautifulSoup working

Taking a Python class on web crawling topic. Professor showed that there is an easier way to get the BeautifulSoup working by simply copying the python file and put it in the same directory. No installation necessary. As it is called within the program, it will create its own compiled file on the fly.

http://www.pythonlearn.com/code/BeautifulSoup.py

Just like the following. Upon executing, "python Week4a", it will pick up the BeautifulSoup on the fly.




Enjoy and happy coding!