This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
except ImportError: | |
sys.stderr.write("\nError: please install python requests module first: http://www.python-requests.org/\n") | |
from requests.auth import HTTPBasicAuth | |
from string import Template | |
import getpass | |
import json | |
currenttime = time.asctime(time.localtime()) | |
urllib3.disable_warnings() |