import requests def post_data(key, value): try: r = requests.post() except Exception as e: pass