Python String Object Has No Attribute Append In Matlab