Forum Archive

A bug?

[deleted]

console.input_alert(title[, message, input, ok_button_title, hide_cancel_button=False])
Show a dialog with a single text field. The text field can be pre-filled with the input parameter. The text that was entered by the user is returned. The ‘Cancel’ button sends a KeyboardInterrupt.

url = console.input_alert(f'请输入url', input=self.url)
TypeError: 'input' is an invalid keyword argument for this function

cvp

@lpl input is a positional parameter, not a keyword

[deleted]

@cvp thank you.