← Back to team overview

sikuli-driver team mailing list archive

[Question #268512]: Import Python Module from Jar

 

New question #268512 on Sikuli:
https://answers.launchpad.net/sikuli/+question/268512

Hello All,

I am new to Python & Sikuli, but I have a little bit background of Java.

I am trying to automate an application using Sikuli which requires to have different sikuli script/modules which will be having Framework & reusable functions . 

Now, We are looking for a way through which we can share this Framework/Common functions file to any other team member. All they can do is just import these to their script but they should not be able to modify it/have access to source code of that python module. Whole purpose is to have control of these Framework functions within core framework team.

Is there any way to do this?

After surfing, we got that distribution of python scripts to Jar using Jython can make it possible, but it never satisfied our goal. I am unable to import my sikuli script using jar.

Have followed below two links to do so-

http://doc.sikuli.org/globals.html#load
http://stackoverflow.com/questions/1252965/distributing-my-python-scripts-as-jars-with-jython


Please help.

Thanks in advance!

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