Don Kirkby Don Kirkby - 5 months ago 47
Python Question

Compare two Python methods in PyCharm

I've recently switched from Eclipse to PyCharm, and I wonder if PyCharm can compare two methods to each other, like Eclipse can. So far, my searching has failed.

I have two similar methods, and I want to check exactly what the differences are.



highlight one function and copy it into the clipboard....

highlight the second function and right click select "compare with clipboard"


take highlight the first method and hit delete

paste in the second method where the first one was

right click and select "local history"