New question #243869 on Sikuli:
https://answers.launchpad.net/sikuli/+question/243869
Hi Raiman
1.I wanted to run 8 scripts at once.So i included from sikuli import * in all
the 7 scripts and in last script i used import (name of all the scripts
separated by comma) OR individually i imported
Question #243869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243869
Status: Open = Answered
RaiMan proposed the following answer:
-- 1: running scripts using import …
is not a good idea.
imported scripts usually should not contain any code, that is run on import
Question #243869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243869
Harry posted a new comment:
Raiman
That means we should not save the script with special characters
Still if i need to run script using import was my script correct i.e import
(all script name separated
Question #243869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243869
RaiMan proposed the following answer:
according to the latest Python rules, using import x1, x2, x3, x4, … is
allowed, but should not be used and each import should be on one line
import x1
import x2
import
4 matches
Mail list logo