Code samples for permanence analysis of python scripts