当按下按钮时,试图调用一个有三个参数的函数,程序会中断,但是调用一个没有参数的函数可以正确执行。on_press:
root.dummy_two() # This throws error, has three positional arguments 在第二个屏幕中按下按钮时出错: TypeError: dummy_two()缺少3个必需
我在Pycharm中有一个简单的ATM刺激功能,并且想为我的函数编写测试。然而,每次我在第一个函数上运行我的测试,请求用户输入,终端就要求我输入,而不是运行模拟。这是我的功能: pin_input = input('PLEASE ENTER YOUR 4-DIGIT PIN: ')
ifYou only have {} attempts remaining.".format(att
================================================================================rootdir: /Users/me/Documents/workspace-vsc/Pipeline/src/pythonMakeInfo
from MakeInfo import mai