In this tutorial, we are going to create a simple splash screen using PyQt5 in Python.

A splash screen is a window containing an image usually appears when a software is loaded. Creating a splash screen with PyQt5 is pretty straight forward and doesn’t require many line of codes.

Buy Me a Coffee? Your support is much appreciated!
PayPal Me:
Venmo: @Jie-Jenn

Python script:

import sys
from PyQt5.QtWidgets import QApplication, QLabel
from PyQt5.QtCore import Qt, QTimer

app = QApplication(sys.argv)

lbl = QLabel('<font color=Green size=12><b> Hello World </b></font>')
lbl.setWindowFlags(Qt.SplashScreen | Qt.FramelessWindowHint)

QTimer.singleShot(4000, app.quit)