Python integerbox输出

2024-06-25 05:58:35 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经在我的程序中实现了一个integerbox。我的问题是:

当有人填写错误的值时,是否可以更改输出?你知道吗

我在网上找不到这方面的任何信息。我用于integerbox的代码:

postcodeinvoer = easygui.integerbox(msg="Voer een postcode in:", title="Postcodezoeker",lowerbound=0,upperbound=999999)

Tags: 代码in程序信息title错误msgpostcode