Auto import | PyCharm
www.jetbrains.com › help › pycharmNov 19, 2021 · Using Import Assistant is the preferred way to handle imports in PyCharm because import optimizations are not supported via command line. The same possibility applies to XML files. When you type a tag with an unbound namespace , the import assistant suggests creating a namespace and offers a list of appropriate choices.