[Tutor] GUI new project
Luke Paireepinart
rabidpoobear at gmail.com
Mon Oct 23 05:03:46 CEST 2006
>
>
> """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
More information about the Tutor
mailing list