How to pass strings from a python script to Sikuli script?

Asked by teste on 2017-07-15

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?

Question information

Language:
English Edit question
Status:
Open
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2017-07-16
Last reply:
2017-07-16
masuo (masuo-ohara) said : #1

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.

teste (vpsa) said : #2

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.

masuo (masuo-ohara) said : #3

After you compare with scraping time and reading file time, you think so? Scraping is "lightining fast",too?

Can you help with this problem?

Provide an answer of your own, or ask teste for more information if necessary.

To post a message you must log in.