sholden at holdenweb.com
Wed Feb 7 19:36:15 EST 2001
"dsavitsk" <dsavitsk at e-coli.net> wrote in message
news:tmlg6.61202$Ch.11526305 at newsrump.sjc.telocity.net...
> i would like to iterate through all possible combinations of the
> in a string, and i am not thinking very clearly about how to approach
> that is, if the initial string is 'bar', i want to print
> ['bar', 'bra', 'abr', 'arb', 'rba', 'rab']
> any hints?
Tim Peters was working on something a while ago, see
but I'm not sure where it eventually went to live
Tools, training and technology to help you meet your information needs
More information about the Python-list