How to convert current webpage to a text file?
I have created one plugin and we need current webpage in t开发者_JAVA百科he form of plain text file so that we can use that text file as an input to the plugin .How do I do it??
import urllib
url = "http://google.com"
text = urllib.open(url)
精彩评论