sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34456
[Question #271041]: Parameter Markers not working as expected
New question #271041 on Sikuli:
https://answers.launchpad.net/sikuli/+question/271041
hi,
I am trying to use simple parameter marker to read password from the user. Below one liner is throwing error.
password = input("Please enter your password here", hidden = True)
--> [error] TypeError ( input() got an unexpected keyword argument 'hidden' )
Similarly below is not working either.
items = ("nothing selected", "item1", "item2", "item3")
selected = select ("Please select an item from the list", options = items)
if selected == items[0]:
popup("You did not select an item")
exit(1)
--> [error] NameError ( name 'select' is not defined )
Can someone please help.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.