How to logout from a Python Program?

Saqib Ali syed_saqib_ali at yahoo.com
Wed Oct 9 19:08:47 EDT 2002


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



More information about the Python-list mailing list