afri...@yahoo.co.uk wrote:
Wouldn't it be easier just to avoid the windows slashes altogether and
stick to the posix:

title = 'c:/thesis/refined_title.txt'
Well, yes in a way, but lots of places in windows you can get a copy
of a full file spec into the cut buffer, so you cut/paste rather than
type.  If you do that, you get the backslashes (and you better be
prepared for that by using r'' to paste into).

--Scott David Daniels
scott.dani...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to