Python folding.