help me!
import pyautogui,sysprint('press Ctrl-c to quit.')
try:
while True:
x, y = pyautogui.position()
positionStr = 'X' +str(x).rjust(4) + 'y:'
print(positionStr,end='')
print('\b'*len(positionStr),end='',flush=True)
except KeyboardInterrupt:
print('\n')
出现了什么错误? 报的什么错?
把文本代码发出来 看你的截图是缩进不对 BngThea 发表于 2020-3-28 09:00
看你的截图是缩进不对
那里的缩进啊 BngThea 发表于 2020-3-28 09:00
看你的截图是缩进不对
解决了
{:10_282:} 六小鸭 发表于 2020-3-28 09:05
那里的缩进啊
except KeyboardInterrupt:这一行复制代码时候看见多缩进了一个; 缩进不对低级错误
页:
[1]