Just felt like posting, wouldn't it be pythonic if it was if word in [list]: ignore
Save time and easily maintainable Cmg On 23 Jun 2017 02:41, "John Black" <jbl...@nopam.com> wrote: All, in case this is useful to anyone, this rule that tells my newsreader which posts to kill really cleans up the group. I could not find a way to key off of anything in the header except keywords because the From keeps changing and I didn't want to overkill real posts. I may have to add a thing or two to this over time, but right now, this seems to be nailing everything. John Black Subject contains "PEDOFILO" Or Subject contains "MAI" Or Subject contains "SEGRETO" Or Subject contains "SETTA" Or Subject contains "BAMBINI" Or Subject contains "FIGLIO" Or Subject contains "PAOLO" Or Subject contains "NATALE" Or Subject contains "SONO" Or Subject contains "GRAZIA" Or Subject contains "PORNOSTAR" Or Subject contains "PEZZO" Or Subject contains "MERDA" Or Subject contains "CAZZO" Or Subject contains "GALERA" Or Subject contains "SICARIO" Or Subject contains "ESSERE" Or Subject contains "CRIMINALE" Or Subject contains "LECCA" Or Subject contains "COCAINA" Or Subject contains "LESBICA" Or Subject contains "NESSUNO" Or Subject contains "MAFIOSO" Or Subject contains "BERLUSCONI" Or Subject contains "????" Or Subject contains "HARDCORE" Or Subject contains "PEDERASTA" Or Subject contains "CULO" Or Subject contains "NOSTRA" Or Subject contains "FOGLIO" Or Subject contains "USARE" Or Subject contains "FAMIGLIA" Or Subject contains "FECE" Or Subject contains "CAPO" Or Subject contains "SUICIDARE" Or Subject contains "OGNI" Or Subject contains "CANE" Or Subject contains "MERCATO" Or Subject contains "VOLTA" Or Subject contains "MAFIOSA" Or Subject contains "ALMENO" Or Subject contains "BASTARDO" Or Subject contains "FIGLIA" Or Subject contains "BASTARD" Or Subject contains "CRIMINAL" Or Subject contains "ANNI" Or Subject contains "PEDINA" -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list