質問するログイン新規登録

質問編集履歴

1

インデントが全角であるという指摘を受け、修正しました。

2021/08/24 04:53

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -10,7 +10,7 @@
10
10
  from pynput import mouse
11
11
 
12
12
  def move(x, y):
13
-    print('マウスポインターは {0} へ移動しました'.format((x, y)))
13
+ print('マウスポインターは {0} へ移動しました'.format((x, y)))
14
14
  def click(x, y, button, pressed):
15
15
  print('{2} が {0} された座標: {1}'.format(
16
16
  'Pressed' if pressed else 'Released',(x, y), button))