[python] run program in Python shell