title: How can you find unused functions in Python code?
body: <p>So you've got some legacy code lying around in a fairly hefty project. How can you find and delete dead functions?</p>
  
  <p>I've seen these two references: <a href="https://stackoverflow.com/questions/245963">Find unused code</a> and <a href="https://stackoverflow.com/questions/11532">Tool to find unused functions in php project</a>, but they seem specific to C# and PHP, respectively.</p>
  
  <p>Is there a Python tool that'll help you find functions that aren't referenced anywhere else in the source code (notwithstanding reflection/etc.)?</p>