set up .py file