python开源工具,有问题可以指出



```python
import requests as re
first = input('Please choose encryption protocol("http://" or "https://")')
if "http://" or "https://" in first:
    try:
        url = input('Please enter URL(such as "www.google.com":')
        get = re.get(url)
        code = get.status_code
        WebPageCode = open('/root/WebPageCode','w')
        WebPageCode.write(code)
        if code in WebPageCode:
            print("Finish")
        else:
            print('Error!')
    except:
        print("Error!")
else:
    print("Error!")
# 这个工具就算是开源了吧,代码有问题可以指出,优化这个程序

```

1