May-08-2017, 08:12 AM
(May-08-2017, 02:56 AM)metulburr Wrote: im not worried about the newlines, just obtaining only additions VS deletions.I don't think you have such an option - just filter out every line that doesn't start with
+[space]
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.