tombay

Posted by Arun Kumar









Blog post using tombay notes




This
tutorial shows how to post to your blogger blog using the desktop
based


This will show how to post using a








Html parser:







#!/usr/bin/python


from
BeautifulSoup import BeautifulSoup


f = open("hello.html",
"r").read()


g=f


soup = BeautifulSoup(g)


b =
soup.prettify()


print b


k=open("hello.html",
"w")


k.writelines(b)


k.close()


b=open
("hello.html", "r").read()


a= str(b)


print
a





0 comments:

Post a Comment