resave init python