create the py file