LoginSignup
2
1

More than 5 years have passed since last update.

PythonでGUI

Last updated at Posted at 2018-10-28

環境

ubuntu LTS 18.04
Python 3.7.0

事前準備

Terminalからpip install PyQt5を実行

コード内容

Python
import sys
from PyQt5 import QtWidgets as qt

if __name__ == '__main__':
    app = qt.QApplication(sys.argv)

    windows = qt.QWidget()
    windows.show()

    sys.exit(app.exec_())

実行結果Screenshot from 2018-10-28 21-04-39.png

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1