FAQ

Asun Friere wrote:
Behrang Dadsetan <ben at dadsetan.com> wrote in message news:<3F0C8AC3.5010304 at dadsetan.com>...

def isAcceptableChar(character):
return charachter in "@&"

str = filter(isAcceptableChar, str)

is going to finally be what I am going to use.

Might 'return character not in "@&"' work better?
ahem... yes of course...

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 17 of 31 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedJul 9, '03 at 7:12a
activeJul 11, '03 at 2:49p
posts31
users15
websitepython.org

People

Translate

site design / logo © 2023 Grokbase