QFileDevice

class PyQt5.QtCore.QFileDevice

C++ documentation