python scaffold