title: How do I export the output of Python's built-in help() function
body: <p>I've got a python package which outputs considerable help text from: <code>help(package)</code> </p>
  
  <p>I would like to export this help text to a file, in the format in which it's displayed by <code>help(package)</code></p>
  
  <p>How might I go about this?</p>