Jan-05-2018, 10:23 AM
Something like that:
In [1]: with open('39768.txt', 'r') as f: ...: for method in dir(f): ...: print(method, '\n'*2, method.__doc__, '\n'*2, '#'*40, '\n')