I am new to using IPython 4.0.0 and I am having a problem with tab completion.
At the moment, tab completion works for navigating through my directory structure, but it doesn't work for Python modules etc. If I import numpy and type:
numpy.[tab]
then nothing shows up.
So following the advice on this question: IPython tab completion not working, I installed readline and pyreadline, but it still didn't help. Then I added this code to my startup.py file:
try:
import readline
except ImportError:
print("Module readline not available.")
else:
import rlcompleter
readline.parse_and_bind("tab: complete")
Now when I type
numpy.[tab]
it shows me a list of attributes as I would expect. However, now I can't use tab complete to navigate around my directory structure, which is incredibly frustrating. It seems that IPython is meant to have this functionality built in, so can anyone suggest how I might get it working? Cheers