Fixed python shell