Rem-LD 发表于 2019-9-19 15:54:49

python

求解释msgbox(msg='(Your message goes here)', title=' ', ok_button='OK', image=None, root=None)后两个参数是什么意思
{:5_109:}

yuweb 发表于 2019-9-19 16:37:13

用help函数调出来的解释
Display a message box
    :param str msg: the msg to be displayed
    :param str title: the window title
    :param str ok_button: text to show in the button
    :param str image: Filename of image to display
    :param tk_widget root: Top-level Tk widget
    :return: the text of the ok_button

image:要显示的图片的文件名
root:顶级Tk小部件
页: [1]
查看完整版本: python