Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34398
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <SRS0=vUlCXI=KA=inqvista.com=inq1ltd@eigbox.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.021 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'example:': 0.03; 'purpose.': 0.07; 'tkinter': 0.07; 'python': 0.09; 'curve': 0.09; 'gui': 0.11; 'subject:python': 0.11; '2.7': 0.13; '(just': 0.16; 'any)?': 0.16; 'received:10.20.55.1': 0.16; 'received:bosimpout01.eigbox.net': 0.16; 'settings': 0.16; 'wrote:': 0.17; 'code,': 0.18; 'windows': 0.19; 'python?': 0.20; 'file.': 0.20; 'trying': 0.21; 'import': 0.21; 'context.': 0.22; 'runs': 0.22; '>': 0.23; 'connected': 0.24; 'linux': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'cc:addr:gmail.com': 0.27; 'cc:2**2': 0.27; 'lines': 0.28; 'all.': 0.28; 'convert': 0.29; 'words': 0.29; 'thursday,': 0.30; 'window': 0.30; 'december': 0.32; 'file': 0.32; 'could': 0.32; 'web,': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'done': 0.34; 'thanks': 0.34; 'saved': 0.35; 'open': 0.35; 'something': 0.35; 'there': 0.35; 'url:org': 0.36; 'data.': 0.36; 'received:71': 0.36; 'useful': 0.36; 'client': 0.36; 'subject:with': 0.36; 'charset:us-ascii': 0.36; 'display': 0.36; 'url:rec-html40': 0.37; 'subject:: ': 0.38; 'skip:o 20': 0.38; 'some': 0.38; 'received:10': 0.38; 'page': 0.38; 'gives': 0.39; 'to:addr:python.org': 0.39; 'build': 0.39; 'skip:w 30': 0.61; 'save': 0.61; 'dedicated': 0.61; 'customer': 0.61; 'more': 0.63; 'direct': 0.69; 'capabilities': 0.71; 'unusual': 0.71; 'commercial': 0.73; 'special': 0.73; 'url:dtd': 0.81; 'browser.': 0.81; 'open,': 0.84; 'webkit': 0.84; 'navigate': 0.91; 'url:strict': 0.91 |
| X-Authority-Analysis | v=2.0 cv=INa1/HTG c=1 sm=1 a=dDofiv30UnIo9aiRlOAL9g==:17 a=spKFjZujUncA:10 a=2Cs5qbXtQ68A:10 a=OmMKortqy18A:10 a=tTExfe6FAAAA:8 a=7W0LKRrbYisA:10 a=sW8qErMY5nVPJ8TbYSQA:9 a=CjuIK1q_8ugA:10 a=SSmOFEACAAAA:8 a=naqdfLnXKVZ6cYeHycwA:9 a=_W_S_7VecoQA:10 a=frz4AuCg-hUA:10 a=9ZNulLQeOzqXkhl4:21 a=hsonH7E3nOZjOFuRJksPKA==:117 |
| X-EN-OrigOutIP | 10.20.18.18 |
| X-EN-IMPSID | YFa81k0090PPbB601Fa8ux |
| From | inq1ltd <inq1ltd@inqvista.com> |
| To | python-list@python.org |
| Subject | Re: mini browser with python |
| Date | Thu, 06 Dec 2012 10:32:54 -0500 |
| User-Agent | KMail/4.7.2 (Linux/2.6.37.6-24-desktop; KDE/4.7.2; i686; ; ) |
| In-Reply-To | <50bfec3f$0$6944$e4fe514c@news2.news.xs4all.nl> |
| References | <mailman.532.1354745770.29569.python-list@python.org> <50bfec3f$0$6944$e4fe514c@news2.news.xs4all.nl> |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="nextPart1484060.EyFh6erO7U" |
| Content-Transfer-Encoding | 7Bit |
| X-EN-UserInfo | ea107384e720a598200e9790e8ca8002:9d89a6cbd5a73a41b134431a25286195 |
| X-EN-AuthUser | inq1ltd@inqvista.com |
| Sender | inq1ltd <inq1ltd@inqvista.com> |
| X-EN-OrigIP | 71.246.148.135 |
| X-EN-OrigHost | pool-71-246-148-135.rich.east.verizon.net |
| Cc | John Gordon <gordon@panix.com>, Dave Angel <d@davea.name>, Hans Mulder <hansmu@xs4all.nl> |
| 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.567.1354808057.29569.python-list@python.org> (permalink) |
| Lines | 168 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1354808057 news.xs4all.nl 6903 [2001:888:2000:d::a6]:35330 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:34398 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Thursday, December 06, 2012 01:52:15 AM Hans Mulder
wrote:
> On 5/12/12 22:44:21, inq1ltd wrote:
> > I can connect to and download a web page,
> > html code, and save it to a file. If connected
> > to the web, I can change the settings on KWrite
> > to open the file and navigate the page,
> > (just like a browser does).
> >
> > I want to view the html file without using a browser
> >
> > or KWrite as I do now.
> >
> > Customer wants a direct connect to a dedicated
> > website. Their clients can be using any
> > browser. This gives them a a direct connect to
> > a dedicated website for a specific purpose.
> > In other words I need a mini, simple browser;
> > something I can build that will open, read and
> > display a saved html or the connected url site.
>
> How about:
>
> import os.path, webbrowser
>
> webbrowser.open("file://" + os.path.abspath(your_file))
>
> > I would appreciate some direction.
>
> You'd get more useful answers if you'd give some
> more context. For example:
>
> * Which platform?
> * Which version of Python?
> * Which GUI (if any)?
> * What capabilities do you need? CSS? Javascript?
> * Are there any unusual requirement?
>
A few responders have ask for this information.
Platform can be linux or Windows.
Currently: Linux runs Python 2.7
and Windows runs 2.6.3;
Windows can be XP and above.
My program is built with Python and Tkinter
I convert the program using py2exe.
There are no special requirements.
The client will design around my capabilities.
The html page will simply be a display of data.
Right now I need some way to display
15 to 20 lines of html in its own window or
as part of my screen.
I am trying to avoid using any commercial
browser.
GTK has a webkit, and QT has a webkit and
Suse, wich I use has libwebkitgtk-1_0-0.
All at some time I will have to look at all.
I thought If someone had done this already
The learning curve could be lowered.
Thanks for the interest,
jimonlinux
>
> Hope this helps,
>
> -- HansM
Back to comp.lang.python | Previous | Next — Previous in thread | Next 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