Input/Output and Networking#

Classes providing file input and output along with directory and network handling.

These Qt Core classes are used to handle input and output to and from external devices, processes, files etc., as well as manipulating files and directories.

PySide6.QtCore.QBuffer

The QBuffer class provides a QIODevice interface for a QByteArray.

PySide6.QtCore.QDir

The QDir class provides access to directory structures and their contents.

PySide6.QtCore.QFile

The QFile class provides an interface for reading from and writing to files.

PySide6.QtCore.QFileDevice

The QFileDevice class provides an interface for reading from and writing to open files.

PySide6.QtCore.QFileInfo

The QFileInfo class provides system-independent file information.

PySide6.QtCore.QFileSystemWatcher

The QFileSystemWatcher class provides an interface for monitoring files and directories for modifications.

PySide6.QtCore.QIODevice

The QIODevice class is the base interface class of all I/O devices in Qt.

PySide6.QtCore.QProcessEnvironment

The QProcessEnvironment class holds the environment variables that can be passed to a program.

PySide6.QtCore.QProcess

The QProcess class is used to start external programs and to communicate with them.

PySide6.QtCore.QResource

The QResource class provides an interface for reading directly from resources.

PySide6.QtCore.QSaveFile

The QSaveFile class provides an interface for safely writing to files.

PySide6.QtCore.QSettings

The QSettings class provides persistent platform-independent application settings.

PySide6.QtCore.QStorageInfo

Provides information about currently mounted storage and drives.

PySide6.QtCore.QTemporaryDir

The QTemporaryDir class creates a unique directory for temporary use.

PySide6.QtCore.QTemporaryFile

The QTemporaryFile class is an I/O device that operates on temporary files.

PySide6.QtCore.QUrl

The QUrl class provides a convenient interface for working with URLs.

PySide6.QtCore.QUrlQuery

The QUrlQuery class provides a way to manipulate a key-value pairs in a URL’s query.

PySide6.QtCore.QSocketNotifier

The QSocketNotifier class provides support for monitoring activity on a file descriptor.

PySide6.QtCore.QDataStream

The QDataStream class provides serialization of binary data to a QIODevice.

PySide6.QtCore.QTextStream

The QTextStream class provides a convenient interface for reading and writing text.