Xah Lee wrote: > > so recently i switched to a Windows version of python. Now, Windows > version takes path using win backslash, instead of cygwin slash. This > fucking broke my find/replace scripts that takes a dir level as input. > Because i was counting slashes.
Slashes can work under windows, up to a point: C:\>cd info/source C:\info\source> Also, most languages I use under windows allow you to use slashes in paths: C:\>ruby -e "puts IO.read( 'c:/info/frag' )" 275439 109999 102972 109999 102972 110000 102972 109999 101085 108111 -- http://mail.python.org/mailman/listinfo/python-list