python and shell