title: python: shuffle characters in string to get all possible string combinations
body: <p>just looking for a script in Python which receives some string and returns all possible strings made up of all the possible combinations of the chars in the original string...</p>
  
  <p>I've found scripts to shuffle randomly the chars in a string, but they only return one randome combination, and what I'm looking for is all the possible combinations...</p>
  
  <p>Say, for example:</p>
  
  <pre><code>script.py "abc"
  abc
  acb
  bac
  bca
  cab
  cba
  </code></pre>
  
  <p>Thanks!</p>