import sys
def end():
foo=raw_input()
sys.exit()
print 'Press enter to Exit python and Terminal'
end()
Po uruchomieniu programu powinniśmy wyjść z Interpretera Pythona i samego Terminalu. Ale to tylko wyjście interpretera python, a nie terminal.Jak wyjść z terminalu Linux za pomocą skryptu Python?
Z góry dziękuję.