Popular recipes by Yang http://code.activestate.com/recipes/users/4178968/2011-08-28T14:34:58-07:00ActiveState Code Recipesget all possible combinations of characters given a string (Python) 2011-08-15T04:15:42-07:00Yanghttp://code.activestate.com/recipes/users/4178968/http://code.activestate.com/recipes/577842-get-all-possible-combinations-of-characters-given-/ <p style="color: grey"> Python recipe 577842 by <a href="/recipes/users/4178968/">Yang</a> (<a href="/recipes/tags/algorithms/">algorithms</a>, <a href="/recipes/tags/permutation/">permutation</a>, <a href="/recipes/tags/string/">string</a>). </p> <p>This will give a result that is more than a permutation, but all possible combinations. An example is when input is 'abc', the output would be: a,ab,abc,ac,acb,b,ba,bac,bc,bca,c,ca,cab,cb,cba</p> HelpMaker: builds help message from comments in the code (Python) 2011-08-28T14:34:58-07:00Yanghttp://code.activestate.com/recipes/users/4178968/http://code.activestate.com/recipes/577860-helpmaker-builds-help-message-from-comments-in-the/ <p style="color: grey"> Python recipe 577860 by <a href="/recipes/users/4178968/">Yang</a> (<a href="/recipes/tags/comments/">comments</a>, <a href="/recipes/tags/help/">help</a>). </p> <p>This tiny module is to make your comments in the source code a bit more useful, to be displayed as help messages. With the HelpMaker, once you finish writing/updating the comments, the help messages are ready. One more reason to work on your comments =)</p>