We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

file.isatty

isatty( )

Return True if the file is connected to a tty(-like) device, else False. Note: If a file-like object is not associated with a real file, this method should not be implemented.