← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #217327]: how to create x lists from a given list, each new list created by removing an element from the given list.(Reformulation of #216288)

 

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

    Status: Open => Needs information

RaiMan requested more information:
could you just write down an example step by step (no code!), what you
want to achieve?

e.g. like this

1. i have this ...
2. now I do this ...
3. then I have this ...
4. now I do this ...
5. then I have this ...
6. repeat from 2. until ...

It does not help, to simply repeat code, that does not do anything that makes sense and contains errors.
(I have already commented your coding in the other question, but you did not react on these comments)

Nevertheless these questions:

    for line in inp:
        alist= list(line) #from a list in the file
        print alist
 
- what does a line contain?
- what do you expect alist to contain?

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