String/source code analysis tools
Heiko Wundram
heikowu at ceosg.de
Thu Apr 22 03:23:27 EDT 2004
Am Donnerstag 22 April 2004 08:56 schrieb Moosebumps:
> It is actually sort of like a diff algorithm maybe, but it wouldn't go line
> by line. How would I do a diff, token by token? I don't know anything
> about what algorithms diffs use.
What about difflib? (part of the standard library) You'd have to write your
own tokenization function, but that shouldn't be hard...
Heiko.
More information about the Python-list
mailing list