← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #243053]: Using external python module using json

 

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

    Status: Answered => Solved

MicMarcil confirmed that the question is solved:
Thanks for the quick answer RaiMan.

I tried several things in the interactive Jython to find out the
problem. That was very useful.

I ended up doing as follow :

1. Downloaded the simplejson module. Put it in the Lib folder I created,
in the Sikuli folder.

2. In my external module, I replaced json import by the following:
import simplejson as json

3. Can now use json in Sikuli :
from myExternalModule import * # simplejson import done in my external module
do my stuff 

Thanks again Raiman
Michael

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