← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #200162]: importing Sikuli in Jython - Jedit IDE

 

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

    Status: Answered => Open

vidya rajagopal is still having a problem:

Sorry for asking dum question again .
I have Sikuli Exe and I don't find " sikuli-script.jar/Lib/sikuli" but the folder where I have the Sikuli exe has the sikuli-script.jar file.

So I don't undersand when you say

" If this leads to weird situations, you have to take the folder sikuli-
script.jar/Lib/sikuli out of the jar and place it into the site-packages
directory of your Jython installation. then it is only"

Could you please elaborate on this as to how I can extract the file from
jar?


Thanks
Vidya

-----Original Message-----
From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of RaiMan
Sent: Tuesday, June 12, 2012 1:01 PM
To: Rajagopal, Vidya
Subject: Re: [Question #200162]: importing Sikuli in Jython - Jedit IDE

Your question #200162 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200162

RaiMan posted a new comment:
But you might get into conflicts with Sikuli's built-in Jython, if you try to use the Jython layer of Sikuli
(sikuli-script.jar/Lib/sikuli).

--- sikuli-script.jar/Lib must be in Jythons sys.path
--- from sikuli import * must be in your script

If this leads to weird situations, you have to take the folder sikuli-
script.jar/Lib/sikuli out of the jar and place it into the site-packages
directory of your Jython installation. then it is only

--- from sikuli import * must be in your script

But in all cases:
path-to-sikuli-script.jar must be in the class path of Jedit.

--
You received this question notification because you asked the question.


________________________________
Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

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