I want to tab autocomplete commands in my python interpreter within bash terminal. This is very useful when I import a module and just want to browse through the methods and autocomplete.
Found two ways to do it. Thanks to stack overflow posts.
Method 1 (as mentioned here):
This is …