On 2008-08-20, Alexnb <[EMAIL PROTECTED]> wroted: > Okay, I have used BeautifulSoup a lot lately, but I am wondering, how do you > open a local html file? > > Usually I do something like this for a url > > soup = BeautifulSoup(urllib.urlopen('http://www.website.com') > > but the file extension doesn't work. So how do I open one?
Have you tried the local file URL, like "file:///home/user/file.html"? GS -- Grzegorz Staniak <gstaniak _at_ wp [dot] pl> -- http://mail.python.org/mailman/listinfo/python-list