← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162999]: Using dictionaries

 

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

    Status: Needs information => Open

Calle Rundgren gave more information on the question:
Here is the code which I would like to make imports from my module
imageDictWrapper

import os
sikuliPath = r"c:\\sikuli\\imageshiRes.sikuli"
fullPath = r"c:\\sikuli\\imageDictWrapper.sikuli\\imageDictWrapper.py"
execfile(fullPath)
setBundlePath(sikuliPath)

from imageDictWrapper import* 
click(imgSet.getImage(openButton)) #just so i can se if everything is working as planned

The error message tells me there is no module called imageDictWrapper: 
ImportError: No module named imageDictWrapper

Even though there is a module with that name. The file which contains
the module is called imageDictWrapper.py which is correct?

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