Open SixteenAngels opened 2 years ago
import sys import threading
import pyautogui as p import flask
log = logging.getLogger("werkzeug") log.setLevel(logging.ERROR)
cli = sys.modules["flask.cli"] cli.show_server_banner = lambda *x: None
app = Flask("app")
p.FAILSAFE = False moving = False drag = False type_data = "" old_data = "" coords = (0, 0) lastcords = (0, 0) lstmcord = (0, 0) lstlen = 0 coords = [(0, 0)]
@app.route("/", methods=["GET", "POST"]) def send() -> str:
if request.method == "POST": # print(request.get_json()) return "ok" return """<!DOCTYPE html>
Type on PC Enter
Left click area
Right click area
SCROLL
line 29 of pywhatkit.remotekit startserver line 6 of \lib\site-packages\pywhatkit\remotekit.py", line 6, in <moywhatkit\remotekit.py", line 6, in import flask ModuleNotFoundError: No module named 'flask'
@Donfrass run pip install flask
pip install flask
import logging
import sys import threading
import pyautogui as p import flask
log = logging.getLogger("werkzeug") log.setLevel(logging.ERROR)
cli = sys.modules["flask.cli"] cli.show_server_banner = lambda *x: None
app = Flask("app")
p.FAILSAFE = False moving = False drag = False type_data = "" old_data = "" coords = (0, 0) lastcords = (0, 0) lstmcord = (0, 0) lstlen = 0 coords = [(0, 0)]
@app.route("/", methods=["GET", "POST"]) def send() -> str:
print("here")
Type on PC
Left click area
Right click area
S
C
R
O
L
L