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! <BR><BR><BR>**************************************<BR> 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