Syntax Error, help a newbie

Ismael Valladolid Torres ivalladt at yahoo.com
Thu Nov 7 04:22:38 EST 2002


Hi,

I am a newbie to python. I am in need of executing a setup script which is
written in this language.

self._services = [ s for s in self._services: if s._name != '$removed$' ]
                               ^
SyntaxError: invalid syntax

I can't figure out what is the mistake in this sentence. Any help will be
very useful. Thanks.

Regards, Ismael

PS. Red Hat Linux 7.2 running python-1.5.2-38





More information about the Python-list mailing list