How to run a sikuli script which has spaces in the script name

Asked by Test App

Hi Rai Man,

I am trying to run my sikuli scripts from the main script.

#This is my main script

import Script Workflow 1
import Script Workflow 2

My script names have spaces and so sikuli is not able to execute my main script.

My scripts run if i remove spaces from the file name (Ex: If the script is written as shown below they run)

#This is my main script

import ScriptWorkflow1
import ScriptWorkflow2

Please let me know how to run scripts which have spaces in their name

Please help Raiman

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

simply not possible: it is a Python syntax rule:

names cannot have intermediate spaces!

... and module names are Python names.

Revision history for this message
Test App (laxmisaketha) said :
#2

Thanks RaiMan, that solved my question.