Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27980

Re: What do I do to read html files on my pc?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feed.xsnews.nl!border-3.ams.xsnews.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'hallo,': 0.09; 'subject:files': 0.09; 'aug': 0.13; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'libs': 0.16; 'opposite': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'trying': 0.21; 'received:209.85.214.174': 0.21; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'search.': 0.29; 'file': 0.32; 'extract': 0.33; 'much.': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'problem,': 0.35; 'text.': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'thank': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'description': 0.39; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'end': 0.40; 'more': 0.63; 'subject:read': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=V5Yt7a80US7c61AiORVQldDhWIW/9P8xm4jw3zxDJvM=; b=gluA8BLk2XVcwvUVprX74LrMp0yJ5mXq8mPnBBbcoU7JoGsD+RKbYU5t0rw+DP8k3X 4v3vx+9PjMliZkYmhjT25P2fGAPJJKBb0SEtaEiVw9/77LFNhYMEt23+GuiPq0Q5sTWa Df0OJNS97tCiS/r6bSkDQ1tII40Jgp9RI7l2wbX4c3owOiIgUeZdPKWQvHOVQsUWd3Hj 77FbIPOH+yYLu3zTvrgE7wgTz/MCWcMUIblxY004lq6BIxwoukIkFwk3X8AjAQhmWdnw RWeqX4eJTjAQqKf7oMKG5NmgoQ7nRPolkRTA/mH6uAUW+YA+5Bghk/EBV/82Xw8RAVuj Meeg==
MIME-Version 1.0
In-Reply-To <1c7cd833-b6ad-4a17-8ffe-a0ce20c8f400@googlegroups.com>
References <1c7cd833-b6ad-4a17-8ffe-a0ce20c8f400@googlegroups.com>
Date Mon, 27 Aug 2012 21:58:08 +1000
Subject Re: What do I do to read html files on my pc?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3872.1346068691.4697.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346068691 news.xs4all.nl 6988 [2001:888:2000:d::a6]:40349
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:27980

Show key headers only | View raw


On Mon, Aug 27, 2012 at 8:59 PM, mikcec82 <michele.cecere@gmail.com> wrote:
> Hallo,
>
> I have an html file on my pc and I want to read it to extract some text.
> Can you help on which libs I have to use and how can I do it?
>
> thank you so much.

Try BeautifulSoup. You can find it at the opposite end of a web search.

Not trying to be unhelpful, but without more description of the
problem, there's not a lot more to say :)

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What do I do to read html files on my pc? mikcec82 <michele.cecere@gmail.com> - 2012-08-27 03:59 -0700
  Re: What do I do to read html files on my pc? Chris Angelico <rosuav@gmail.com> - 2012-08-27 21:58 +1000
  Re: What do I do to read html files on my pc? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-08-27 13:05 +0100
  Re: What do I do to read html files on my pc? mikcec82 <michele.cecere@gmail.com> - 2012-08-27 06:51 -0700
    Re: What do I do to read html files on my pc? Joel Goldstick <joel.goldstick@gmail.com> - 2012-08-27 10:21 -0400
    Re: What do I do to read html files on my pc? Chris Angelico <rosuav@gmail.com> - 2012-08-28 00:41 +1000
    Re: What do I do to read html files on my pc? Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-08-27 18:57 +0200
  Re: What do I do to read html files on my pc? mikcec82 <michele.cecere@gmail.com> - 2012-08-28 03:09 -0700
    Re: What do I do to read html files on my pc? Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2012-08-28 13:31 +0100
  Re: What do I do to read html files on my pc? Peter Otten <__peter__@web.de> - 2012-08-28 17:38 +0200
  Re: What do I do to read html files on my pc? mikcec82 <michele.cecere@gmail.com> - 2012-08-29 03:22 -0700
  Re: What do I do to read html files on my pc? Umesh Sharma <usharma01@gmail.com> - 2012-08-29 05:00 -0700

csiph-web