Check Python Program Run On Command Line