running warnings

2007-03-03 Thread memcached
I wrote these codes pieces:
 
try:
import termios, TERMIOS
except  ImportError:
try:
import  msvcrt
except  ImportError:
try:
from EasyDialogs import  AskPassword
except  ImportError:
getpass =  default_getpass
else:
getpass = AskPassword
else:
getpass =  win_getpass
else:
getpass =  unix_getpass
 
 
When running I got the error warnings:
 
/usr/lib/python2.3/TERMIOS.py:7: DeprecationWarning: the TERMIOS module is  
deprecated; please use termios
DeprecationWarning)
Traceback (most  recent call last):
File "t2.py", line 18, in ?
getpass = unix_getpass
NameError: name 'unix_getpass' is not defined
 
 
Can you tell me what're there warnings and how to avoid  them?Thanks!
** AOL now offers free 
email to everyone.  Find out more about what's free from AOL at 
http://www.aol.com.
-- 
http://mail.python.org/mailman/listinfo/python-list

mod_python's mechanism

2007-03-13 Thread memcached
Hello,
I'm just curious that does mod_python have the same or similiar mechanism 
comparing to mod_perl?
Thanks!

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.com.
-- 
http://mail.python.org/mailman/listinfo/python-list

about framework

2007-02-26 Thread memcached
Python has some web framework.I'm not familiar with all of them.
Do you think which is best popular of  them?Thanks.
** AOL now offers free 
email to everyone.  Find out more about what's free from AOL at 
http://www.aol.com.
-- 
http://mail.python.org/mailman/listinfo/python-list