added python in session edit