How can I force a logout from a python program? I tried os.system("exit") but this only terminates the shell within which my application is running (which starts with the #! on the first line). Is it possible for me to logout "all the way" in python? -Saqib