The Options menu in the Python Shell contains some settings that control how the Python Shell works: