#coding=utf8 import _winreg as winreg class Win32Environment: """Utility class to get/set windows environment variable""" def __init__(self, scope,name): self.scope = scope if scope == 'user': self.root = winreg.HKEY_CURRENT_…
package com.xxl.sso.sample; import java.net.URI; import java.net.URISyntaxException; public class test { public static void main(String[] args) throws URISyntaxException { System.out.println(getIP(new URI("http://www.baidu.com/system/verList")))…