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 mailman.567.1354808057.29569.python- l...@python.org inq1ltd inq1...@inqvista.com writes: Right now I need some way

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, (just like

Re: mini browser with python

2012-12-06 Thread John Gordon
In mailman.567.1354808057.29569.python-l...@python.org inq1ltd inq1...@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? -- John Gordon

Re: mini browser with python

2012-12-06 Thread inq1ltd
On Thursday, December 06, 2012 05:19:38 PM John Gordon wrote: In mailman.567.1354808057.29569.python-l...@python.org inq1ltd inq1...@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

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 mailman.567.1354808057.29569.python-l...@python.org inq1ltd inq1...@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

mini browser with python

2012-12-05 Thread inq1ltd
Python help. 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 using a browser or KWrite as I do now. In other words I need a mini, simple

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') for line in

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 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 using

Re: mini browser with python

2012-12-05 Thread Grant Edwards
On 2012-12-05, Hans Mulder han...@xs4all.nl 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

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. import urlliib

Re: mini browser with python

2012-12-05 Thread Dave Angel
On 12/05/2012 04:19 PM, inq1ltd wrote: SNIP 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 given any

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 open the

mini browser with python

2012-12-05 Thread inq1ltd
Python help. 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

Re: mini browser with python

2012-12-05 Thread John Gordon
In mailman.532.1354745770.29569.python-l...@python.org inq1ltd inq1...@inqvista.com 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

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