Skip to content

Instantly share code, notes, and snippets.

@prabindh
Created April 10, 2020 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prabindh/87954af02fe6a2850216bf33ceeb4f8d to your computer and use it in GitHub Desktop.
Save prabindh/87954af02fe6a2850216bf33ceeb4f8d to your computer and use it in GitHub Desktop.
Server side Py application
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