When you invoke Basic Completion &shortcut:CodeCompletion;, PyCharm Community suggests the choices that are reachable from the current caret position. Press &shortcut:CodeCompletion; again to extend the suggestions list.
If you use completion to discover a class name and this class has not been imported yet, the import statement is generated automatically.