为什么会说 TypeError: expected a character buffer object?
import urllib
import re
myfile = open("C:\Users\Teli\Desktop\pro.txt", "w")
page = urllib.urlopen("http://www.samair.ru/proxy/ip-address-01.htm").read()
a = re.findall('\d+\.\d+\.\d+\.\d+', page)
myfile.write(a)
myfile.close()