1 #!/usr/bin/python 2 # -*- coding:utf-8 -*- 3 import os 4 5 print "查看公网IP:" 6 os.system(\'curl icanhazip.com\') 相关文章: