hi i am ab

Asked by ab

Hi Sikuli thanks a lot for gr8 tool.

Questions:
1)i am able to import other scripts.But problem is not able to import images from other script so please tell me the method....As earliest......

Displaying this errors.

:- [error] Stopped
[error] An error occurs at line 2
[error] Error message: Traceback (most recent call last):
File "C:\Users\abhishek\AppData\Local\Temp\sikuli-tmp3414251367901272664.py", line 2, in
test2.click_button()
AttributeError: 'module' object has no attribute 'click_button'

=============================================================================================

mycode:-

test1.sikuli file

def click_button():
    click("start_btn.png")
    print("not clicked")

================================================================================================
test2.sikuli

import test2
test2.click_button()

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.