← Back to team overview

sikuli-driver team mailing list archive

[Question #822218]: Integration between Python code and SikuliX projects

 

New question #822218 on SikuliX:
https://answers.launchpad.net/sikuli/+question/822218

I have a main Python script (main.py) that will orchestrate the execution of several automation bots created with SikuliX. The structure is as follows:

1 login bot

1 bot to generate report 1

1 bot to generate report 2

The login bot is located in the folder login.sikuli, which contains the file login.py. Inside that file, there is a class called logar, and within that class there are two functions: sistemaSci() and sistematotvs().

What I need is the following:
>From my main.py, I want to call the login bot and execute only the sistemaSci() function.

My question is:
How can I integrate my Python script with this SikuliX project (login.sikuli/login.py) and call just the specific function I need?

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