python获取ipv6地址
import urllib.requestimport subprocessimport socketimport rechild=subprocess.Popen("ipconfig", shell=True, stdout = subprocess.PIPE)out=child.communicate();#保存ipconfig中的所有信息ipv6_pattern='(([a-