fuzzy or boolean text search

2008-12-08 Thread n00b
hi, i'm looking for advice/suggestions for text search, preferably with boolean or even fuzzy capabilities, and for use with mysql innodb tables. asking too much :) ??? thx a bunch -- http://mail.python.org/mailman/listinfo/python-list

etree, minidom unicode

2008-12-05 Thread n00b
hi, i have a feew questions concnering unicode and utf-8 handling and would appreciate any insights. 1) i got a xml document, utf-8, encoded and been trying to use etree to parse and then commit to mysql db. using etree, everything i've been extracting is return as a string except ascii char > 12

redirecting stdout/err to mysql table

2008-11-18 Thread n00b
greetings, i need to log to the db directly and wrote a little script to do so. since i'm pretty new to python, i was wondering if a) you could review the enclosed code and b) provide suggestions to harden to code to turn it into a more general, broadly reusable class. thank you very much. impor

redirecting stdout to mysql table

2008-11-18 Thread n00b
greetings, i would like to redirect stdout/err to a mysql table and would like a) some peer review and b) suggestions for hardening the approach for a general purpose class. thank you very much. import sys import MySQLdb class DBLogger(object): def __init__(self): self.db_name = 'odb'