← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #679317]: organising images and functions in different scripts in sikuli

 

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

    Status: Solved => Open

Sreelekshmi is still having a problem:
Hi Raiman,

Faced another issue . below code giving error at line 7 for reload

[error] script [ MSLS_Functions ] stopped with error in line 7
[error] NameError ( name 'Images' is not defined )

import os
import sys
from sikuli import*
imagePath="C:\\Tools\\Images.sikuli"
addImagePath(imagePath)
from Images import*
reload(Images)
def Launch_app():
    if exists(icon):
        doubleClick(icon)

Launch_app()

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.