← Back to team overview

sikuli-driver team mailing list archive

[Question #269834]: import issue

 

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

Hi , I am new to Sikuli, I am getting below error while executing. I kept both scripts in same folder. Please help me out

# script1.sikuli
# a script to be imported
from sikuli import *
popup("Hello, I am script1")

# main.sikuli
popup("Hello, I am the main script")
import script1.sikuli

============
[error] script [ *main ] stopped with error in line 8
[error] NameError ( !!WHILE IMPORTING!! name 'click' is not defined )
=========

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