????hosts.py
#!/usr/bin/python
#encoding: utf-8
hosts = {
'login.dangdang.com' : '10.255.254.209'??
}
config.py
[python] view plaincopy??CODE?????????????????????
#!/usr/bin/python
#encoding: utf-8
isdebug = True
auth_header = {} #{"Authorization": "Basic Y2hlbnhpYW93dToxMTExMTE="}
goal_host = "login.dangdang.com"
????????????????goal_host???ó?????????????????hosts?????????????????÷??????????????????
???????
?????м????????????????????÷??????????????????????????????????A????????????????????A?????÷??????????A??????????????????
????????????hosts?????????