+ added encoding to py file