问题
I'm new to ipython notebook. When typing a code line, it should show all methods or attributes that I can choose. However, it didn't, and I'm not sure why.
It should look like this:
Does anyone know how I can get this to work?
回答1:
- Type the library name
- Type period symbol
. - Press tab
At this point you will see drop down menu (showing all the methods)
This works for both python 2 and python 3
回答2:
That should be a new feature of IPython 6.0.
But as mentioned in the official release post, is still just for command line users, and they are working to port it to all other users.
来源:https://stackoverflow.com/questions/43795676/how-to-show-all-methods-that-i-can-choose-in-ipython-notebook