← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #151367]: Can exe and py files be edited in sikuli?

 

Question #151367 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/151367

    Status: Open => Answered

RaiMan proposed the following answer:
--1. If you want to edit a Sikuli script again, you have always to save
it as a .sikuli first. You never touch the contained .py. You always
work on the folder level .sikuli, when using the IDE. Then Sikuli has
access to the script and the images. That is the normal usage. "Export
as executable" is not intended to be an alternative to "Save as", but as
a format for "run-only".

--2. "executable" might be missleading. It has nothing to do with .exe, it is only a zipped version of the .sikuli folder. So you might see the .py, when looking at the .skl, because you see the content of the zipped file.
With the release X-1.0 the executable format is not really needed any longer, because you can use the .sikuli with all command line approaches as well.
The format .skl is convenient, if you want to give your script to someone else via mail or web upload, because it is one file instead of a folder containing many files.

--3. If you only have a .skl, just change .skl to .zip, unzip it to a
folder that you rename to myscript.sikuli - and here you are again.
myscript has to be the same as for the contained .py. feel free to
rename both to have the same name.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.