py code startup