FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonprogramming/pyqt5_lesson_01.py at pythonprogramming · ppattar/pythonprogramming · GitHub
ppattar
/
pythonprogramming
Public
forked from
kenwaldek/pythonprogramming
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonprogramming
/
pyqt5_lesson_01.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (18 loc) · 666 Bytes
Breadcrumbs
pythonprogramming
/
pyqt5_lesson_01.py
Copy path
File metadata and controls
23 lines (18 loc) · 666 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /usr/bin/env python3
# -*- coding:utf-8 -*-
###############################################################
# kenwaldek MIT-license
# Title: PyQt5 lesson 1 Version: 1.0
# Date: 08-01-17 Language: python3
# Description: pyqt5 simple example of empty window
# pythonprogramming.net from PyQt4 to PyQt5
###############################################################
# do something
import
sys
from
PyQt5
.
QtWidgets
import
QApplication
,
QWidget
app
=
QApplication
(
sys
.
argv
)
window
=
QWidget
()
window
.
setGeometry
(
50
,
50
,
500
,
300
)
window
.
setWindowTitle
(
'pyQt Tuts'
)
window
.
show
()
sys
.
exit
(
app
.
exec_
())
Back
|
FazBrowse Home
|
New Git URL