added python variant of ping script