Function Verification

2006-06-06 Thread Ws
Hi all I'm trying to write up a module that *safely* sets sys.stderr and sys.stdout, and am currently having troubles with the function verification. I need to assure that the function can indeed be called as the Python manual specifies that sys.stdout and sys.stderr should be defined (standard fi

Re: Function Verification

2006-06-06 Thread Ws
Ah, damn. That would've been soo much simpler. =S Thanks for the advice man. -Wes Ben Cartwright wrote: > Ws wrote: > > I'm trying to write up a module that *safely* sets sys.stderr and > > sys.stdout, and am currently having troubles with the function > > veri

Re: MySQLdb problem with mod_python, please help

2004-11-30 Thread ws Wang
Damjan <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > > MySQLdb is working fine at command line, however when I tried to use > > it with mod_python, it give me a "server not initialized" error. > > Maybe its this problem? > http://www.modpython.org/FAQ/faqw.py?req=show&file=faq