added code; python script encoding