← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #124759]: Can you run Python and call Sikuli from there?

 

Question #124759 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/124759

RaiMan proposed the following answer:
Sorry for the faulty description.

If you have done it exactly as I wrote it down, then you have to say in
the client:

import xmlrpclib
cli = xmlrpclib.ServerProxy("http://127.0.0.1:1337";)
retval = cli.myWorkflow("Just to say hello from Python")

since with the server above you have registerd a def() called
myWorkflow()

sorry again. good luck.

come back if you have problems. I know it works ;-)

More information can be found in FAQ 1331

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.