You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An enhancement that could be made to our comparison and infromation extraction process would be to start including the state of the configuration. This can be a relatively simple line-by-line comparison. Using a library like difflib we should be able to accomplish this relatively easily. Here is some information on accomplishing this task from GeeksForGeeks.
The result of the comparison opperation should be only the mismatches in a dictionary composed of two sub-dictionaries "added_lines": {"Line ##": "TEXT_FROM_LINE"} and "removed_lines": {"Line ##": "TEXT_FROM_LINE"}.
The text was updated successfully, but these errors were encountered:
An enhancement that could be made to our comparison and infromation extraction process would be to start including the state of the configuration. This can be a relatively simple line-by-line comparison. Using a library like
difflib
we should be able to accomplish this relatively easily. Here is some information on accomplishing this task from GeeksForGeeks.The result of the comparison opperation should be only the mismatches in a dictionary composed of two sub-dictionaries
"added_lines": {"Line ##": "TEXT_FROM_LINE"}
and"removed_lines": {"Line ##": "TEXT_FROM_LINE"}
.The text was updated successfully, but these errors were encountered: