Another way:
import urllib2
usock = urllib2.urlopen('http://abc.com')
data = usock.read()
usock.close()
print data
On Feb 12, 12:05 am, Stefan Behnel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> shashank jain top-posted:
>
>
>
> > On Feb 11, 2008 11:15 PM, Stefan Behnel <[EMAIL PROTECTED]> wrote:
>
Hi,
shashank jain top-posted:
> On Feb 11, 2008 11:15 PM, Stefan Behnel <[EMAIL PROTECTED]> wrote:
>
>> jainshasha wrote:
>>> well i have create a program which can read out the html source code
>>> files or any other web page source code files through my program so
>> Like this?
>>
>> >>> from
jainshasha wrote:
> well i have create a program which can read out the html source code
> files or any other web page source code files through my program so
Like this?
>>> from lxml import html
>>> page = html.parse("http://www.google.com";)
>>> print page.find("//title").text
Google
h
hello friends
well i want to create a program which can read my html based coding or
any other web page code
so i want to know how python can help me in this regard
so anyone have ay idea about this thing please reply soon
Thanks In Advance
--
http://mail.python.org/mailman/listinfo/python-lis
hello friends
well i have create a program which can read out the html source code
files or any other web page source code files through my program so
please guys help me out in this problem that how python can help me in
this regard and if there is any other language through which i can
easily ma