This commit is contained in:
xyj 2024-03-09 14:31:07 +08:00
parent 919fc8b839
commit feca453f99
3 changed files with 11 additions and 2 deletions

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@ -34,8 +34,10 @@ def handle_client(client_socket):
try:
data = data.decode("utf-8")
Point = json.loads(data)["Point"]
print(Point[0])
x_y = Point[0]
x = x_y["x"]
y = x_y["y"]
click_it(x, y)
except Exception as e:
print(e)
# 返还一个 ACK 在计算机网络中的意思是返回包确认,表示收到

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
PyAutoGUI~=0.9.54