>
> *Q1*- I placed this code in db.py  - Is that where it is suppose to go?
>

If it's only needed for registration, maybe put it in a module and import 
in the user() function when request.args(0)=='registration' (assuming 
you're using the standard user() function).
 

>
> *Q2*- I thought the python *.match* would work the way I want, but you 
> see...
>

.match matches only from the beginning of the string -- if you want matches 
anywhere in the string, use .search.
 

> *Q3:*
> Also, if I just want my own list, without encoding, decoding, HOW do I do 
> that, I tried all of these-
> none worked:
> BADWORDS=('ass', 'jerk')
> BADWORDS = 'ass' 
> BADWORDS = ['ass', 'jerk']
>

Hard to say without seeing the code that does the matching.

Anthony

-- 



Reply via email to