[Tutor] detecting data member changes

2007-04-23 Thread Luke Paireepinart
Supposing I have a class like this: class wiimote(object): def __init__(self): self.leds = [0,0,0,0] def updateLEDs(self): do_stuff()#write correct output report to wiimote to toggle LEDs. So basically what I want to do is that whenever the self.leds variable is changed,

Re: [Tutor] Tkinter import error

2007-04-23 Thread John DeStefano
On 4/23/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > So the problem is in your 2.5 install? Well, I get the same error no matter whether I try to import Tkinter while running 2.3, 2.4, or 2.5. > Can you just use a binary package or do you need to compile from scratch? I don't need to compi

Re: [Tutor] Tkinter import error

2007-04-23 Thread Alan Gauld
"John DeStefano" <[EMAIL PROTECTED]> wrote > I've run into an error that I've seen reported in several places, > but > none of the fixes seem to be working for me: when I try to "import > Tkinter" I get a configuration error: > Traceback (most recent call last): > File "", line 1, in > File "

Re: [Tutor] Tkinter import error

2007-04-23 Thread Luke Paireepinart
John DeStefano wrote: > Hi all, > > I've been lurking for a while; I'm just picking up Python and most of > the posts have been a bit over my head. > > I've run into an error that I've seen reported in several places, but > none of the fixes seem to be working for me: when I try to "import > Tkinte

[Tutor] Tkinter import error

2007-04-23 Thread John DeStefano
Hi all, I've been lurking for a while; I'm just picking up Python and most of the posts have been a bit over my head. I've run into an error that I've seen reported in several places, but none of the fixes seem to be working for me: when I try to "import Tkinter" I get a configuration error: Trac

[Tutor] Podcast aggregator - OPML Parsing?

2007-04-23 Thread Richard Querin
I'd like to try my hand at writing a very simple podcast aggregator for linux. I'll be using wxPython and have found the Universal Feed Parser which looks good for me to use, but I'm having trouble finding a similar module that might parse OPML files. Does anybody know of a good one? Or should I do

Re: [Tutor] IDE / development environment

2007-04-23 Thread Robert H. Haener IV
Rohan Deshpande wrote: > What does everyone use as their development environment for Python, > particularly web dev? I primarily use SPE in both Windows and Linux, though I occasionally use vim/gvim in both environments. Oddly enough, I've started using the Python interactive prompt for basic m

Re: [Tutor] IDE / development environment

2007-04-23 Thread Mike Hansen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rohan Deshpande > Sent: Sunday, April 22, 2007 2:51 AM > To: tutor@python.org > Subject: [Tutor] IDE / development environment > > Hey guys, > > I've been using Linux for a long time but this is my

Re: [Tutor] IDE / development environment

2007-04-23 Thread Luke Paireepinart
Kent Johnson wrote: > Rikard Bosnjakovic wrote: > > >> And now, Alan, see the charm of "reply all": this mail gets three >> recipients: the list and two persons on the list, meaning they both >> will get two copies. The next person replying this mail will add it up >> to another person, and in t