run python cleanly without py mode