Created
April 10, 2020 02:20
-
-
Save prabindh/87954af02fe6a2850216bf33ceeb4f8d to your computer and use it in GitHub Desktop.
Server side Py application
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
from http.server import HTTPServer, BaseHTTPRequestHandler | |
from io import BytesIO | |
import os | |
import json | |
from pyautogui import press | |
def do_POST(self): | |
press('space') | |
# Standard respnse sequence headers fill here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment