xingchen.luo 发表于 2021-3-12 11:08:05

easygui.multenter()

import easygui as f
information = "Do you want to continue?"
title = "Please Confirm"
f.multenterbox(information,title)

运行此程式出现的问题如下,请问如何解决?
Traceback (most recent call last):
File "C:\Python39\code\easygui modle.py", line 5, in <module>
    f.multenterbox(information,title)
File "C:\Python39\lib\site-packages\easygui\boxes\multi_fillable_box.py", line 132, in multenterbox
    mb = MultiBox(msg, title, fields, values, mask_last=False,
File "C:\Python39\lib\site-packages\easygui\boxes\multi_fillable_box.py", line 183, in __init__
    self.fields, self.values = self.check_fields(fields, values)
TypeError: cannot unpack non-iterable NoneType object

笨鸟学飞 发表于 2021-3-12 13:34:32

multenterbox(msg='Fill in values for the fields.', title=' ', fields=[], values=[], callback=None, run=True)

你参数太少了,缺少参数
页: [1]
查看完整版本: easygui.multenter()