On Sunday 22 October 2006 20:03, Luke Paireepinart wrote:
> >       """Create the Second ListBox"""
> >
> >       self.lbRSSItems = Listbox(self, exportselection=0
> >                                 ,command=self.reveal
> >                                 , relief=SUNKEN)
>
> Because whitespace is important in python,
> you can't arbitrarily put newlines into your text.
> Your program is getting confused because it doesn't know what ',
> relief=SUNKEN)' means.
> Try putting a '\' before your newlines.
> Like:
> x = \
> 'a'
>
>
> HTH,
> -Luke
I'm not an expert Luke but I thought a statement can take more than one line 
when enclosed in parentheses, square brackets or braces (also when triple 
quoted).  Is this correct????

John
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to