How to find difference between two python file? #312
Unanswered
hetsolanki97
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Hi! Python is in our list of supported languages, there are two parsers for Python that you can try. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Normally you can diff python ASTs like anything else vie the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi, From the Java API you can diff code in any language GumTree is compatible with (see unit tests in the gen.* modules). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an equivalent functionality in the Python parser, similar to the one available in Java, that allows us to find the differences between two Python files?
Note: We have used the Python parser and are able to find the XML for both files. In addition, we are also able to extract the metadata from the XML. We are trying to use XML provided by Python in the Java code and find the difference. Is this the correct approach?
Beta Was this translation helpful? Give feedback.
All reactions