Python中令人困惑的用户界面错误

时间:2019-06-14 19:00:33

标签: python python-3.x user-interface

我正在尝试创建一个显示正确的Excellon标题的GUI,但遇到了一些困难。如果有人可以对此有所了解,我将不胜感激。

from gooey import Gooey
from gooey import GooeyParser
@Gooey
def main():
    parser = GooeyParser(description="Excellon Header Creator")

    parser.add_argument('Cu', widget="Dropdown", choices=['Qoz', 'Toz', 
'Hoz', 'Ooz'])
    return parser.parse_args()

Opts = main()
print('Cu, ', opts.Cu)

这是我得到的错误: --ignore-gooey-“ Toz”

0 个答案:

没有答案