a strange SyntaxError

Steve Howell showell30 at yahoo.com
Sun Dec 9 15:42:50 EST 2007


--- CoolGenie <CGenie at gmail.com> wrote:
>         self.feed = self.config['feedsrc']
>         self.numfeeds = self.config['numfeeds']
>         self.numlines = self.config['numlines']
> 
> 		self.w = 520
> 		self.h = 12*self.numfeeds*(self.numlines+1)
>         adesklets.window_resize(self.w, self.h)
>        
> Unfortunately, I'm getting this bug for some time
> now and I just don't
> know what's going on:
> 
>   File "./fparser.py", line 40
>     self.w = 520
>     ^
> SyntaxError: invalid syntax
> 

Indentation.  See above how the code arrived to me.  I
recommend configuring your editor to convert tabs to
spaces.



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the Python-list mailing list