Master PyQt5 part 1: Hello World and Template

preview_player
Показать описание
Author Alan D Moore demonstrates a basic PyQt5 Hello World program, then transforms it into a template that you can use for all your PyQt5 programs.

Default command line arguments for any Qt program:

Thanks for watching!
Рекомендации по теме
Комментарии
Автор

best Introduction to PyQT5 hope it gets more viewers !

MsPerestrojka
Автор

This is the calmest tutorial I've ever seen and I love it

Shannxy
Автор

This is the best PyQt5 tutorial series I've found. Thank you!

rekarpnevik
Автор

This series is priceless! Not only for PyQt but for learning Python in general. The combination of a slow pace while being so to the point provides a great speed of learning. And I love how you always do the detour of explaining all details and every line of code, but in a way that it's not getting repetitive. Legend!

QuirinF
Автор

Great Video! Always wondered why some people used 'as' for importing and others didn't. Thank you! Will always use it now.

meandyouandhimoverthere
Автор

this content is immaculate, keep it up. Deserves more views

theycallmemuzz
Автор

Hey Alan, I think you are a great teacher. God bless you for making understanding easier. Kudos

odurolewis
Автор

you are way better at teaching than some of my college professors

DeePunter
Автор

This is actually a really good tutorial. Subscribed. And thank you too, very well made.

thingsiplay
Автор

This is so informative and precise at the same time. Great work.

minhajabidin
Автор

This tutorial is awesome. I bought the book.

rwbazillion
Автор

I have started working on GUI front-end for my Bioinformatics software (basically a set of classes). This is just perfect. Thank you so much. Does your book cover much more then your videos?

rebelScience
Автор

This is exactly what I needed, thank you! I'll be sure to check out your book.

mimmotronics
Автор

Can I just say.... THANK YOU for not doing * (star) imports! It drives me up the wall when tutorials especially do it.

I think I'm going to have to buy your book based on that alone loool

imadetheuniversefun
Автор

When I try this under iPython/Spyder, the console hangs after I close the app window. Could you give us a version of your simplest 'hello world' that would work under iPython? I poked around on StackExchange and came up with this, but I don't understand what it is doing:

import sys
from PyQt5.QtWidgets import *

# works for me without this check, but some people seem to need it
app = QApplication.instance() # check if there is already an instance
if not app:
app = QApplication(sys.argv)

w = QWidget(windowTitle = 'hello world')
w.show()

# this made it work for me
app.exec_()

johnprice
Автор

Is it worth it to read the book if I watch the whole series or has it the same contents ?

cesandr
Автор

Anyone know why the QWidget's init method still runs even when I DIDNT use the super() function?



class MainWindow(qtw.QWidget):
pass

app = qtw.QApplication(sys.argv)

w = MainWindow(windowTitle="Hello World")
w.show()

sys.exit(app.exec_())

ApplySkills