initialise py file