Re: mini browser with python

2012-12-07 Thread inq1ltd
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 inq1ltd > > > > writes: > > > > Right now I need some way to display > > > > 15 to 20 lines of html in its own wind

Re: mini browser with python

2012-12-06 Thread Terry Reedy
On 12/6/2012 1:15 PM, inq1ltd wrote: On Thursday, December 06, 2012 05:19:38 PM John Gordon wrote: > In inq1ltd 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

Re: mini browser with python

2012-12-06 Thread inq1ltd
On Thursday, December 06, 2012 05:19:38 PM John Gordon wrote: > In inq1ltd 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 possibili

Re: mini browser with python

2012-12-06 Thread John Gordon
In inq1ltd 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? -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com

Re: mini browser with python

2012-12-06 Thread inq1ltd
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, > > (

Re: mini browser with python

2012-12-05 Thread Hans Mulder
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

Re: mini browser with python

2012-12-05 Thread John Gordon
In inq1ltd writes: > 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. What will be the output of this mini browser? Plain text? Rendered graphics? An audible screen reader? Something else? Wh

Re: mini browser with python

2012-12-05 Thread inq1ltd
On Wednesday, December 05, 2012 10:15:58 PM Hans Mulder wrote: > On 5/12/12 20:36:04, inq1ltd wrote: > > Python help. > > ?This is not a Python question. > > > I can connect to and download a web page, > > html code, and save it to a file. If connected > > to the web, I can use KWrite to

Re: mini browser with python

2012-12-05 Thread Dave Angel
On 12/05/2012 04:19 PM, inq1ltd wrote: > > > I need to view the code as if > I were opening it with a browser. > > Now, I set KWrite to read the code just > as Firefox does. > I want to incorporate a mini browser > in a module to do the same. > > regards, > jimonlinux > > > You still haven't g

Re: mini browser with python

2012-12-05 Thread inq1ltd
On Wednesday, December 05, 2012 03:36:04 PM David Hutto wrote: > I think this is the snippe that you want: > > david@david-desktop:~$ python > Python 2.7.3 (default, Aug 1 2012, 05:16:07) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > > >>> i

Re: mini browser with python

2012-12-05 Thread Grant Edwards
On 2012-12-05, Hans Mulder wrote: > On 5/12/12 20:36:04, inq1ltd wrote: >> Python help. > > ? This is not a Python question. It sounds to me lik he's asking about using Python to render HTML and display the result. Back when I used Scheme/Tk for knocking out quick GUI apps, there was an "HTML" w

Re: mini browser with python

2012-12-05 Thread Hans Mulder
On 5/12/12 20:36:04, inq1ltd wrote: > Python help. ?This is not a Python question. > I can connect to and download a web page, > html code, and save it to a file. If connected > to the web, I can use KWrite to open the file > and navigate the page. > I want to view the html file without

Re: mini browser with python

2012-12-05 Thread Miki Tebeka
> In other words I need a mini, simple browser; > something I can build that will open, read and > display a saved html file. If you want to view the "raw" HTML, use any editor. If you want to view the rendered HTML (like in a browser), you can point your favorite browser to a local file or use

Re: mini browser with python

2012-12-05 Thread David Hutto
I think this is the snippe that you want: david@david-desktop:~$ python Python 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import urlliib >>> url_to_read = urllib.urlopen('http://hitwebdevelopment.com') >>>