sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50970
Re: [Question #679113]: showMonitors() – what does "None" mean?
Question #679113 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679113
RaiMan proposed the following answer:
@Mike
showMonitors() is a function at the Java level having this signature:
public static void showMonitors()
hence it does not return anything.
The message output is done inside the function.
If you assign the not existing return value (void) of showMonitors() to
a variable, then in the Python context this variable is defined and does
not have a value, which is signalled by None. That is Python ;-)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.