use explained with a python shell session