[Sikuli-driver] [Question #649118]: How to pass strings from a python script to Sikuli script?

2017-07-15 Thread teste
New question #649118 on Sikuli:
https://answers.launchpad.net/sikuli/+question/649118

Hello,  I have a Python script constantly scraping some pages  and would like 
to pass the strings to a running SikuliX script that will use the data. 
Is that possible? If yes, how can I do that?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #649118]: How to pass strings from a python script to Sikuli script?

2017-07-15 Thread masuo
Question #649118 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/649118

Status: Open => Answered

masuo proposed the following answer:
How about passing strings by a file.
Write strings to the file by your Python script, and read strings from the file 
by SikuliX script.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #649118]: How to pass strings from a python script to Sikuli script?

2017-07-16 Thread teste
Question #649118 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/649118

Status: Answered => Open

teste is still having a problem:
Hello @masuo, I thought on this method but the problem is that it needs
to be "lightining fast", I think that writing and reading from a file
would be too slow.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #649118]: How to pass strings from a python script to Sikuli script?

2017-07-16 Thread masuo
Question #649118 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/649118

masuo posted a new comment:
After you compare with scraping time and reading file time, you think
so? Scraping is "lightining fast",too?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #649118]: How to pass strings from a python script to Sikuli script?

2017-07-23 Thread teste
Question #649118 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/649118

teste posted a new comment:
Yes, as it was the same script doing the work, he was scraping and
storing the strings, if you need to scrap, open a file, write the
string, close a file and another script picks the string in the file,
yes, it will add much more time (you are adding at-least one step more
to the process).

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #649118]: How to pass strings from a python script to Sikuli script?

2017-07-24 Thread dinev
Question #649118 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/649118

Status: Open => Answered

dinev proposed the following answer:
1. You need to define "Fast" - how fast in seconds(or ms).
2. You need to define size of string - in bytes.
3. You need to define how many strings per second you need to read
4. You need to define power of underlying machine that will do the work

If you are doing something with sikuli like image recognition I doubt file read 
will be slow in comparison.
My first choice will be "file" if 1-4 questions have reasonable expectations.

However You can investigate :
1. pipes - sikuli script to open pipe to python script and to read directly 
from the pipe.
2. simple rest server run by sikuli that will get post request send by the 
python script
3. mysql database

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp