Issue
I'm novice at IPython and I've got a problem with autocompletion. Tab autocompletion doesn't work properly.
It works after imports:
import<tab>
But tab completion doesn't work after dot operators. As example:
import numpy as np
np.<tab>
Meanwhile this example works well for IPython at console.
Package pyreadline is up-to-date. I tried different browsers. I reinstalled IPython and pyreadlines. But it didn't helped.
Solution
If you write things in the same cell, it's perfectly normal. Until you've run the import line, np
is not defined.
Run the cell once, or run the import statement in a previous cell and autocomplete should work.
Answered By - Benoit Seguin
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.