Autocompletion occurs when you type in the name of an object followed by the dot operator. PyCrust displays an alphabetical listing of all known attributes for that particular object. As you enter additional letters, the highlighted selection in the list changes to match the letters you have entered. If the item you want is highlighted, press the Tab key and PyCrust fills in the rest of the attribute name for you.
In figure 4.3, PyCrust is displaying a list of attributes for a string object. This autocompletion list includes all the properties and methods of the object.
Was this article helpful?