QFileInfo

class PyQt5.QtCore.QFileInfo

C++ documentation