cswiger wrote:
> Gang - Here's a fun demo for fellow knob twisters, combines
> a powermate with the wxPython 'gauge' or bargraph widget.
> They can be seperated and the bargraph used for signal strength,
> volume, spectrum display, etc.
> 
> http://webpages.charter.net/cswiger/gauge_3.py


Nice.  Note that you have 2 lines:

import wx, sys
from wxPython.wx import *


You only need "import wx".  The other one ends up importing the same
stuff, but putting it into the base namespace.  For example, where the
first import allows you to use wx.Gauge, the second gives you Gauge.
This pollutes the namespace and tends to lead to conflicts, which is why
 the wxPython people suggest the first method.

Matt


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to