enter as visual exit, python folding