first
This commit is contained in:
parent
919fc8b839
commit
feca453f99
|
@ -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>
|
6
main.py
6
main.py
|
@ -34,8 +34,10 @@ def handle_client(client_socket):
|
||||||
try:
|
try:
|
||||||
data = data.decode("utf-8")
|
data = data.decode("utf-8")
|
||||||
Point = json.loads(data)["Point"]
|
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:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
# 返还一个 ACK 在计算机网络中的意思是返回包确认,表示收到
|
# 返还一个 ACK 在计算机网络中的意思是返回包确认,表示收到
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
PyAutoGUI~=0.9.54
|
Loading…
Reference in New Issue