16

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:

Example

Does anyone know how I can get this to work?

Obsidian Age
  • 41,205
  • 10
  • 48
  • 71
Gina
  • 161
  • 1
  • 1
  • 3
  • 1
    btw, TAB not work for me, i am using Mac OS, python 2.7, ipython 5.3 and notebook 5.0 – Gina May 05 '17 at 02:54

2 Answers2

27
  1. Type the library name
  2. Type period symbol .
  3. Press tab

At this point you will see drop down menu (showing all the methods)

enter image description here

This works for both python 2 and python 3

user3062459
  • 1,587
  • 7
  • 27
  • 39
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.

5agado
  • 2,444
  • 2
  • 21
  • 30