September 2019
Beginner to intermediate
494 pages
13h
English
Looking back to the preceding screenshot (when I tried to import from the math module), the first thing we should appreciate about code completion is the fact that suggestions are not necessarily methods and classes whose names start with an s, but ones that have an s in their names.
This means that, in general, if a class or a method that contains the word currently being typed is in any part of its name, it will be suggested by code completion. This functionality gives us a better searching capability, but it also generates a large number of suggestions that we might not need.
This is where the distinction between basic and smart code completion in PyCharm comes into play:
Read now
Unlock full access