f python?
WJ
w_a_x_man at yahoo.com
Wed Apr 11 06:55:12 EDT 2012
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
More information about the Python-list
mailing list