dsavitsk at e-coli.net
Thu Feb 8 17:30:04 CET 2001
Thank you all for the suggestions.
i am trying to unscramble scrambled words (which i am frustratingly bad at)
so i send all of the permutations to Word's spell checker and see what it
thinks are words. I'll post the code this afternoon when i'm done in case
anyone wants it.
"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?
More information about the Python-list