sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33225
Re: [Question #268512]: Import Python Module from Jar
Question #268512 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268512
Fagun posted a new comment:
Hey RaiMan,
Thank you so much for your help. This got worked. :)
I was using below commands before -
sys.path.append("<path-to>")
load("mystuff.jar")
import module1.py
But after your explaination, I changed my code little bit -
sys.path.append("<path-to>/mystuff.jar")
import module1.py
----------------------------------------------------------
Further to it - I am using Sikuli-1.0.1, Sorry not to provide more
specifications before.
Our Framewrok is NOT yet fully designed, but this is what we got so far -
1. Driver Script - Must be .Sikuli folder
2. Action Script - Must be .Py Files
3. Images Repository
4. Framework Functions - Must be .Py Files - Should be in JAR
5. Application Functions - Must be .Py Files
I still have one more doubt, that my JAR file (which has .PY files in it) are still NOT secure.
As I am using Zip-Unzip method to build a JAR.
How can I protect now? Any other way to satisfy our requirement?
Thanks Again! You are awesome.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.