Popular recipes tagged "wx"http://code.activestate.com/recipes/tags/wx/popular/2010-12-21T21:11:33-08:00ActiveState Code RecipesHanoi 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>
Simple example of embeding plots in wx and running them interactively (Python)
2010-09-21T17:30:30-07:00Kaushik Ghosehttp://code.activestate.com/recipes/users/4166965/http://code.activestate.com/recipes/577402-simple-example-of-embeding-plots-in-wx-and-running/
<p style="color: grey">
Python
recipe 577402
by <a href="/recipes/users/4166965/">Kaushik Ghose</a>
(<a href="/recipes/tags/interactive/">interactive</a>, <a href="/recipes/tags/matplotlib/">matplotlib</a>, <a href="/recipes/tags/wx/">wx</a>).
</p>
<p>Simple code to show how to incorporate a pylab plot into wx and then interact with it. This can form the basis of windows/apps that plot various variables that can be changing in the background.</p>