Add encoding lines in python files