Excluding Classes from Auto-Import
To configure classes to be excluded from import
Open the Settings/Preferences dialog (Ctrl+Alt+S), and under the Editor | General node, click Auto-Import.
On the Auto-Import page, click (Alt+Insert).
In the dialog that opens, type the name of the class or a whole package to be excluded, and click OK.
Use (Alt+Insert) and (Alt+Delete) to manage the list of classes and packages that PyCharm Edu shouldn't place to the suggestion list.
Apply changes and close Settings/Preferences dialog.
Excluding classes from imports
To exclude classes from imports in the fly
Start typing a name in the editor, and use intention action as described in the section Creating Imports:
In the Class to Import suggestion list, select the class you want to be ignored, and click the right arrow to reveal the nested list of intention actions. PyCharm Edu suggests you to exclude specific class or the whole containing package:
Click the desired class or package to be excluded.