T
TonyHa
Hello,
Does any one have using Python to write a Unix "diff" command for
Window?
Tony Ha.
Does any one have using Python to write a Unix "diff" command for
Window?
Tony Ha.
Hello,
Does any one have using Python to write a Unix "diff" command for
Window?
TonyHa said:Does any one have using Python to write a Unix "diff" command for
Window?
TonyHa said:Hello,
Does any one have using Python to write a Unix "diff" command for
Window?
Tony Ha.
Yes. There's a script in your Python distribution:
Tools/scripts/diff.py
See also the docs for the 'difflib' standard library module.
Thomas Heller:
Is the opposite code, a Python equivalent to 'patch' available? I
have endless trouble receiving patch files that assume one of Windows or
Unix (in terms of path names and line end characters) which then fail to
apply on the other platform. I would like to have a version I could hack on.
TonyHa said:Hello,
Does any one have using Python to write a Unix "diff" command for
Window?
Trent Mick said:[Neil Hodgson wrote]Thomas Heller:
Is the opposite code, a Python equivalent to 'patch' available? I
have endless trouble receiving patch files that assume one of Windows or
Unix (in terms of path names and line end characters) which then fail to
apply on the other platform. I would like to have a version I could hack on.
So would I! I also have problems with the available patch.exe binaries
hanging or crashing occassionally on Windows.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.