Popular recipes by A. Polino http://code.activestate.com/recipes/users/4176317/2010-12-23T11:29:38-08:00ActiveState Code RecipesChek if a number is a power of two (Python) 2010-12-23T11:29:38-08:00A. Polinohttp://code.activestate.com/recipes/users/4176317/http://code.activestate.com/recipes/577514-chek-if-a-number-is-a-power-of-two/ <p style="color: grey"> Python recipe 577514 by <a href="/recipes/users/4176317/">A. Polino</a> (<a href="/recipes/tags/2/">2</a>, <a href="/recipes/tags/check/">check</a>, <a href="/recipes/tags/number/">number</a>, <a href="/recipes/tags/power/">power</a>, <a href="/recipes/tags/python/">python</a>). Revision 2. </p> <p>Pretty good way to check if a number is a power of two or not.</p> Hanoi Towers solver wxPython (Python) 2010-12-21T21:11:33-08:00A. Polinohttp://code.activestate.com/recipes/users/4176317/http://code.activestate.com/recipes/577511-hanoi-towers-solver-wxpython/ <p style="color: grey"> Python recipe 577511 by <a href="/recipes/users/4176317/">A. Polino</a> (<a href="/recipes/tags/hanoi/">hanoi</a>, <a href="/recipes/tags/problem/">problem</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/solver/">solver</a>, <a href="/recipes/tags/wx/">wx</a>). Revision 3. </p> <p>It's a simple solver of the problem of Hanoi Tower with a minimal GUI written in wxPython. It can handle just 10 plates, due to windows size..however it's very simple to modify this and the 'pure' solver is not affected by this limitation</p>