Popular recipes by amir naghavi http://code.activestate.com/recipes/users/4177294/2011-06-17T15:25:20-07:00ActiveState Code RecipesSecure Password Generator (Python) 2011-06-17T15:25:20-07:00amir naghavihttp://code.activestate.com/recipes/users/4177294/http://code.activestate.com/recipes/577759-secure-password-generator/ <p style="color: grey"> Python recipe 577759 by <a href="/recipes/users/4177294/">amir naghavi</a> (<a href="/recipes/tags/password/">password</a>, <a href="/recipes/tags/random/">random</a>). </p> <p>A password generator that uses OS facilities to generate none pseudo random numbers. the SystemRandom uses CryptGenRandom in Windows and /dev/random in linux and it is so better to use this to create random numbers in cryptography or any other security areas.</p> Simple Sudoku (Python) 2011-06-02T14:15:02-07:00amir naghavihttp://code.activestate.com/recipes/users/4177294/http://code.activestate.com/recipes/577716-simple-sudoku/ <p style="color: grey"> Python recipe 577716 by <a href="/recipes/users/4177294/">amir naghavi</a> (<a href="/recipes/tags/algorithm/">algorithm</a>, <a href="/recipes/tags/game/">game</a>, <a href="/recipes/tags/oo/">oo</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/random/">random</a>, <a href="/recipes/tags/sudoku/">sudoku</a>). Revision 10. </p> <p>This is a simple sudoku game.</p> converting numbers to their alphabetical style (Python) 2011-03-17T06:57:06-07:00amir naghavihttp://code.activestate.com/recipes/users/4177294/http://code.activestate.com/recipes/577607-converting-numbers-to-their-alphabetical-style/ <p style="color: grey"> Python recipe 577607 by <a href="/recipes/users/4177294/">amir naghavi</a> (<a href="/recipes/tags/algorithm/">algorithm</a>, <a href="/recipes/tags/recursion/">recursion</a>, <a href="/recipes/tags/string/">string</a>). Revision 4. </p> <p>converts numbers to alphabetical numbers </p> SMS_Encryption (Python) 2011-03-14T08:26:29-07:00amir naghavihttp://code.activestate.com/recipes/users/4177294/http://code.activestate.com/recipes/577606-sms_encryption/ <p style="color: grey"> Python recipe 577606 by <a href="/recipes/users/4177294/">amir naghavi</a> (<a href="/recipes/tags/acm/">acm</a>, <a href="/recipes/tags/algorithm/">algorithm</a>, <a href="/recipes/tags/encryption/">encryption</a>). </p> <p>the answer of an acm problem to further explantion look at source code.</p> url_spider (Python) 2011-03-14T09:08:28-07:00amir naghavihttp://code.activestate.com/recipes/users/4177294/http://code.activestate.com/recipes/577608-url_spider/ <p style="color: grey"> Python recipe 577608 by <a href="/recipes/users/4177294/">amir naghavi</a> (<a href="/recipes/tags/database/">database</a>, <a href="/recipes/tags/regex/">regex</a>, <a href="/recipes/tags/web/">web</a>). Revision 3. </p> <p>a simple url spider that goes through web pages and collects urls.</p>