When I use foo = help('module') in code, it displays the help message in console.
Is there a way to gather the data from help() without displaying a message?
Code:
foo = help("module")
print(foo)
Output:
A module is...
A module is...
Expected (Wanted) Output:
A module is...
I want to get rid of the first output ("A module is...") when I do foo = help("module")