Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34479
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <SRS0=fsNx4Q=KB=inqvista.com=inq1ltd@eigbox.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'memory.': 0.05; 'formatting': 0.07; 'parser': 0.07; 'parsing': 0.07; 'terry': 0.09; 'subject:python': 0.11; 'file,': 0.15; 'discussed.': 0.16; 'naive': 0.16; 'parser.': 0.16; 'reedy': 0.16; 'suggesting': 0.16; 'tables,': 0.16; 'wrote:': 0.17; 'widget': 0.17; 'shell': 0.18; 'module': 0.19; 'code.': 0.20; 'versions': 0.20; 'suggested': 0.20; 'cc:2**0': 0.23; '>': 0.23; 'originally': 0.23; "i've": 0.23; 'linux': 0.24; 'machine': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'possibility': 0.27; 'format,': 0.27; 'fixed': 0.28; 'lines': 0.28; 'run': 0.28; 'writes:': 0.29; 'convert': 0.29; 'thursday,': 0.30; 'window': 0.30; 'december': 0.32; 'help,': 0.32; 'could': 0.32; 'info': 0.32; 'page.': 0.33; 'extract': 0.33; 'platforms.': 0.33; 'text,': 0.33; 'to:addr :python-list': 0.33; 'text': 0.34; 'project': 0.34; 'open': 0.35; 'pm,': 0.35; 'table': 0.35; 'something': 0.35; 'ability': 0.36; 'but': 0.36; 'url:org': 0.36; 'received:71': 0.36; 'subject:with': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'display': 0.36; 'url:rec-html40': 0.37; 'quite': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'received:10': 0.38; 'gives': 0.39; 'to:addr:python.org': 0.39; 'john': 0.60; 'customer': 0.61; 'making': 0.64; 'content,': 0.65; 'url:dtd': 0.81; 'boxes.': 0.84; 'url:strict': 0.91 |
| X-Authority-Analysis | v=2.0 cv=IJC1/HTG c=1 sm=1 a=fWDH6ZNpHozlV7bkwsP3/g==:17 a=spKFjZujUncA:10 a=2Cs5qbXtQ68A:10 a=OmMKortqy18A:10 a=tTExfe6FAAAA:8 a=7W0LKRrbYisA:10 a=8AHkEIZyAAAA:8 a=-WP5ww-kqqbfUolEeY8A:9 a=CjuIK1q_8ugA:10 a=VhVvL8HfBcoA:10 a=qMDZ_Ezp4_0A:10 a=SSmOFEACAAAA:8 a=X4L60qOeJI_qir9lTKoA:9 a=_W_S_7VecoQA:10 a=frz4AuCg-hUA:10 a=4k38Omwp4RkafnV2:21 a=BF10AaGwQl41phDg7WSPyA==:117 |
| X-EN-OrigOutIP | 10.20.18.8 |
| X-EN-IMPSID | YgeT1k0010ASroS01geTTG |
| From | inq1ltd <inq1ltd@inqvista.com> |
| To | python-list@python.org |
| Subject | Re: mini browser with python |
| Date | Fri, 07 Dec 2012 11:37:01 -0500 |
| User-Agent | KMail/4.7.2 (Linux/2.6.37.6-24-desktop; KDE/4.7.2; i686; ; ) |
| In-Reply-To | <k9qudk$2nk$1@ger.gmane.org> |
| References | <mailman.532.1354745770.29569.python-list@python.org> <2752523.MlzgZ4bAjj@mach-114-20> <k9qudk$2nk$1@ger.gmane.org> |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="nextPart4747504.8sp9LLiSC6" |
| Content-Transfer-Encoding | 7Bit |
| X-EN-UserInfo | ea107384e720a598200e9790e8ca8002:9d89a6cbd5a73a41b134431a25286195 |
| X-EN-AuthUser | inq1ltd@inqvista.com |
| Sender | inq1ltd <inq1ltd@inqvista.com> |
| X-EN-OrigIP | 71.127.135.46 |
| X-EN-OrigHost | pool-71-127-135-46.rcmdva.east.verizon.net |
| Cc | Terry Reedy <tjreedy@udel.edu> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.613.1354900350.29569.python-list@python.org> (permalink) |
| Lines | 143 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1354900350 news.xs4all.nl 6929 [2001:888:2000:d::a6]:45185 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:34479 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Thursday, December 06, 2012 03:15:42 PM Terry Reedy wrote: > On 12/6/2012 1:15 PM, inq1ltd wrote: > > On Thursday, December 06, 2012 05:19:38 PM John Gordon wrote: > > > In <mailman.567.1354808057.29569.python- list@python.org> inq1ltd > > > > <inq1ltd@inqvista.com> writes: > > > > Right now I need some way to display > > > > 15 to 20 lines of html in its own window or > > > > as part of my screen. > > > > > > Could you open a shell window and run a text web browser such as > > > Lynx? > > > > That is a possibility but then every machine > > will have to have Lynx. That is not quite > > what the customer wants. > > > > Also, I can download the site to a file, > > Or you can download and work with it in memory. > > > convert the data to text, > > Using existing html parser. > > > then display it in a Text widget. > > The complication in displaying html is with placing images and other > boxed content, including tables, and flowing text around the boxes. If > the html you want to work with is simple and has a somewhat fixed > format, you should be able to extract all the info as either text or a > table and be able to format and place it how you want. What you are suggesting is what was suggested when this project was originally discussed. However, I was naive about the complications of simply viewing a web page. And, making something like this work on Linux and Windows. I've come to the conclusion that processing the data with a parser and formatting it in a widget is the only way to make it work on both platforms. Parsing the data also gives one the ability to produce a module that will work in multiple versions of either platform and still keep control of all of the code. I appreciate the Help, Regards, jimonlinux
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
mini browser with python inq1ltd <inq1ltd@inqvista.com> - 2012-12-05 16:44 -0500
Re: mini browser with python John Gordon <gordon@panix.com> - 2012-12-05 22:56 +0000
Re: mini browser with python Hans Mulder <hansmu@xs4all.nl> - 2012-12-06 01:52 +0100
Re: mini browser with python inq1ltd <inq1ltd@inqvista.com> - 2012-12-06 10:32 -0500
Re: mini browser with python John Gordon <gordon@panix.com> - 2012-12-06 17:19 +0000
Re: mini browser with python inq1ltd <inq1ltd@inqvista.com> - 2012-12-06 13:15 -0500
Re: mini browser with python Terry Reedy <tjreedy@udel.edu> - 2012-12-06 15:15 -0500
Re: mini browser with python inq1ltd <inq1ltd@inqvista.com> - 2012-12-07 11:37 -0500
csiph-web