私がする必要があるのは:
1点目で時刻を確認
2点目で時間を確認
時間の差がタイムアウト(0.5秒)よりも小さいかどうかを計算します
これを試しました:
>>> from time import time
>>> a=time
>>> b=time
>>> a-b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for -: 'builtin_function_or_method' and builtin_function_or_method'
しかし、私はエラーを取得しています。
ご意見をお聞かせください。