Create Byte Array From String Python Functions