i'am new to django and i want to try get the content of HTML.
can help me how to get the content of html.

f=urllib.request.urlopen("http://site_name.com";)
s=f.read()
f.close()

but the code is display all code html. i want to just take the contents of tag html.

thanks.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to