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

    Status: Open => Answered

RaiMan proposed the following answer:
First of all, you have to create a simple text file, that contains line
by line the following:

(items on a line should be  comma separated, no need to use apostrophes)

line 1:
all image names in master folder

line 2 and following:
the filename of the respective subfolder and the list of image names to be 
contained in that folder

Then we can create a simple Python script, that reads the above file and:
1. interprets the master folder (first line) and checks it
2. reads line by line and creates the subfolders while copying and naming the 
respective images accordingly

No need to do that visually: Python has all instruments, to evaluate and create 
directories and copy files while renaming them.
The rest is some intelligent string handling (might be using regular 
expressions)

Come back with the above text file and I will help you to get on the
road.

If you want we can talk directly using my mail at https://launchpad.net
/~raimund-hocke

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to