ma, 2010-01-04 kello 17:05 -0800, Christopher Barker kirjoitti: [clip] > I also notice that it supports separators of arbitrary length, which I > wonder how useful that is. But it also does odd things with spaces > embedded in the separator: > > ", $ #" matches all of: ",$#" ", $#" ",$ #" > > Is it worth trying to fix that?
That's a documented feature: sep : str Separator between items if file is a text file. Empty ("") separator means the file should be treated as binary. Spaces (" ") in the separator match zero or more whitespace characters. A separator consisting only of spaces must match at least one whitespace. -- Pauli Virtanen _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion