On 2005-10-24, Anthony Liu wrote: > We know that if we do > > print '\a' > > the bell will sound. > > Now, why do I hear the sound on my local machine when > I run a python script on a remote host? > > I understand if I hear it when I do > > print '\a' > > on my local machine. > > Does the command get sent back to the client machine?
The code is printed to stdout, which is your terminal. Your terminal interprets ^G as a beep. -- Chris F.A. Johnson <http://cfaj.freeshell.org> ================================================================== Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress <http://www.torfree.net/~chris/books/cfaj/ssr.html> -- http://mail.python.org/mailman/listinfo/python-list