Create Graphical User Interfaces With Python and PyQT5 - PyQt5 GUI Thursdays #1

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии •

  • @nickochoa2480
    @nickochoa2480 3 года назад +22

    Thank you for always knowing what is going through our nooby brains, what questions we have as you're going through the tutorial, and for making the explanations so clear. As someone who's took a stab at learning programming multiple times over multiple years in the past, I can say you have helped my progression the most, by far. Thanks again.

    • @Codemycom
      @Codemycom  3 года назад +2

      You're very welcome!

  • @alicherifi9075
    @alicherifi9075 3 года назад +18

    After following all your Tkinter serie , now I'm super happy to see you starting a Pyqt one, thank you for this hard work!

  • @MobbyG
    @MobbyG 3 года назад +5

    I've been following the TKinter series, and now this? Awesome! Can't wait for more!

  • @davel9130
    @davel9130 3 года назад +4

    On Mac [zsh shell, percent sign is command prompt (not typed), 'venv_tests' is the environment name]:
    To create (*USE FULL PATH*):
    % python3 -m venv /Users/[username]/venv_tests
    To activate:
    % source venv_tests/bin/activate
    To deactivate:
    % deactivate

  • @ahsanyousuf9011
    @ahsanyousuf9011 3 года назад +5

    This is what we were waiting for, finally, after a long time.....

  • @gypsy2545
    @gypsy2545 3 года назад +2

    Glad you finally got to PyQt!

  • @MariusDiMaio
    @MariusDiMaio 2 года назад

    Thanks for video.. It's very good to know that Python is possible use it in all platform. In my case i use Python in Ubuntu. And some customer not need that the software has speed. This my customer are many happy

  • @m_abhijit_
    @m_abhijit_ 3 года назад +3

    I started this series today!

    • @juniorMr
      @juniorMr 2 года назад

      That's great

  • @hiwab41
    @hiwab41 3 года назад +2

    Whoa nice ! PyQt5 is high performance 😮

  • @karthikrajamony6044
    @karthikrajamony6044 3 года назад +5

    Good series, expecting more soon

  • @rudraanshpatel553
    @rudraanshpatel553 3 года назад

    This person reads, what I need , Thank you so much Man !!!!!!!

    • @Codemycom
      @Codemycom  3 года назад +1

      You are so welcome!

  • @ritikyadav4153
    @ritikyadav4153 3 года назад +2

    Again after reading this video title I come to know that today is Thursday in his Country but in my Country today is Friday
    Erath is amazing

  • @learnwithnawf246
    @learnwithnawf246 3 года назад +1

    Many new series for this year!!!Thank you sir . You are the best teacher.

    • @Codemycom
      @Codemycom  3 года назад

      Hope you enjoy them!

  • @firas___fit
    @firas___fit Год назад

    man i can explain how you are amazing you help to learn python more than any one
    keep going i wish you all the best

  • @Alfredornbrp
    @Alfredornbrp 2 года назад

    thank you from a person from Brazil

    • @Codemycom
      @Codemycom  2 года назад

      Thanks for watching!

  • @mejiab19
    @mejiab19 2 года назад +9

    Can someone explain to me why he uses lambda: functioncall, why not just use -> clicked= press_it()

    • @AozoraTempus
      @AozoraTempus Месяц назад

      sorry I know this reply is very late. yeah it can be "clicked=press_it" but when you have to pass arguments to a function you need to use lambda.

  • @wandersonbarcelos5519
    @wandersonbarcelos5519 3 года назад +2

    3:33 - "Super easy, barely an inconvenience!" XD

  • @ziamalik189
    @ziamalik189 2 года назад

    Great Sir

  • @ronaldcovington113
    @ronaldcovington113 3 года назад

    Was just thinking of learning more about this and can't wait for more

  • @alialavizadeh2775
    @alialavizadeh2775 3 года назад

    thanks mr.elder I was expecting long time this will be very unique series about pyqt5

  • @ledung907
    @ledung907 3 года назад

    Awesome tutoiral ! I've waited for this for so long

  • @mynameisgod1135
    @mynameisgod1135 3 года назад

    Good start.

  • @lasindukashmira7272
    @lasindukashmira7272 3 года назад

    Nice video sir! Waiting for this.

  • @black-ym5di
    @black-ym5di 3 года назад

    Wawo! Final u touch me again, i can't wait for ur Pqt5 tutorials please support it until the end..

    • @Codemycom
      @Codemycom  3 года назад

      Going to be a good one!

  • @NaveenYoYoDude
    @NaveenYoYoDude 2 года назад +1

    Would have been cute if they had named the module as QtPy !! ;-)

  • @dhanushhv1658
    @dhanushhv1658 3 года назад +1

    Finally I got this tutorial, thank you

  • @justinharass1416
    @justinharass1416 3 года назад

    PyQt tutorials! thanks i love your tutorials!

  • @KaziMdTawhid
    @KaziMdTawhid 3 года назад +2

    Thanks sir

  • @javadmahdavi1151
    @javadmahdavi1151 2 года назад +1

    your courses are incredibly useful thank you so much...

    • @Codemycom
      @Codemycom  2 года назад

      Glad you enjoy them!

  • @seanli75
    @seanli75 3 года назад +2

    not to mention, you can import sys and instead of the empty list in the QApplication you can put sys.argv

  • @BCmodo
    @BCmodo 3 года назад

    Finally pyqt5... Thank you

  • @codding_edicattions__python__
    @codding_edicattions__python__ 5 месяцев назад

    nice video

  • @اماديرأمان-ر9ك
    @اماديرأمان-ر9ك 2 года назад

    Good job again شكرا

  • @abdelhamid_moukrime
    @abdelhamid_moukrime 3 года назад

    Thank you sir John
    Keep up

  • @haroldw2823
    @haroldw2823 3 года назад

    Hey buddy, this is pretty cool stuff.
    Great work mate, got a sub from me.

  • @adityachoudhary4045
    @adityachoudhary4045 3 года назад +1

    Awesome tutorial🔥🔥

  • @JonnyRobinson
    @JonnyRobinson 2 года назад

    As a new person trying to use this tool, this is extremely intimidating.😫 I will do my best to see if this sticks.

  • @briangreenberg153
    @briangreenberg153 3 года назад

    Funny how quickly you learn that upper case letters in the right spot are critical.

  • @philipthangngat2758
    @philipthangngat2758 3 года назад +1

    Hi, thank you for these videos. Your tutoring skills are excellent!

  • @somanshbudhwar
    @somanshbudhwar 3 года назад

    You're the Heisenberg of coding. Say my name....Pythonberg

  • @IreneTomphson
    @IreneTomphson 11 месяцев назад

    cool video)

  • @bmw7147
    @bmw7147 2 года назад

    thank you straight to the point

  • @Codemycom
    @Codemycom  3 года назад

    ▶️ Watch Entire PyQt5 GUI Thursdays Playlist ✅ Subscribe To My RUclips Channel:
    bit.ly/3sHT8dc bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
    Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
    ▶️ Get The Code:
    bit.ly/394NQ3R

  • @sligma200
    @sligma200 11 месяцев назад

    You are a legend!!

  • @rabiumuhammedeffect423
    @rabiumuhammedeffect423 3 года назад

    Good series, THANK YOU SO MUCH

    • @Codemycom
      @Codemycom  3 года назад

      You're very welcome!

  • @ahmetkarakartal9563
    @ahmetkarakartal9563 9 месяцев назад

    you are my hero
    thank you

  • @MuhamadSurchy
    @MuhamadSurchy 3 года назад

    Huge thanks , thanks allot , wish you all the bests , keep going , go on .
    John can you create a fully functional Management System Like School or Pharmacy With Pyqt5 , Please.
    Again and again Thank you so much.

  • @m.nikolatesla
    @m.nikolatesla 3 года назад

    Very nice channel. How is Aspen 🐶 :))

    • @Codemycom
      @Codemycom  3 года назад

      Thanks! Aspen's doing great!

  • @jeremyho4674
    @jeremyho4674 3 года назад

    I love your videos !! I really want to learn wxpython , can you teach us ??

    • @Codemycom
      @Codemycom  3 года назад +1

      It gets easier :-)

  • @suyogsubedi8584
    @suyogsubedi8584 2 года назад

    Will you make a video on QThread ?

  • @jonsnow3513
    @jonsnow3513 3 года назад

    why is this better than kivy

    • @Codemycom
      @Codemycom  3 года назад +1

      You can't compare apples to cars

  • @mahmoodsekandari3621
    @mahmoodsekandari3621 Год назад

    What a great course. Are the code files for each session available?

    • @Codemycom
      @Codemycom  Год назад

      Yes, as I say in the video, the code is in the pinned comment...

  • @farishuric2416
    @farishuric2416 3 года назад

    Comment for RUclips algorithm !

    • @Codemycom
      @Codemycom  3 года назад

      Thanks, appreciate it!

  • @gingerbread2005
    @gingerbread2005 3 года назад

    Going to start this series soon, how similar is it to tkinter? Loved your tkinter videos

    • @Codemycom
      @Codemycom  3 года назад

      Awesome. It's not very similar at all..

    • @gingerbread2005
      @gingerbread2005 3 года назад

      Awe that sucks, even so, cant wait to learn!

  • @codeKeshav
    @codeKeshav 3 года назад +1

    You shooted up your channel and introducing so many courses, confused which to do first, as all of them looks interesting

    • @Codemycom
      @Codemycom  3 года назад +1

      Do them all :-p

    • @codeKeshav
      @codeKeshav 3 года назад

      @@Codemycom not possible, as I am class 12 acc to Indian Education System.

  • @learnwithnawf246
    @learnwithnawf246 3 года назад

    Will you start a series on pygame ? Please ☺️☺️

  • @jackwang1794
    @jackwang1794 3 года назад

    Think You for all this!!!
    and by the way
    can i use python 3.4 in windows xp
    sublime text 3
    for this?

  • @amaulearyan9912
    @amaulearyan9912 2 года назад

    When u will make video on QScrollArea ? waiting for long time

  • @asce313
    @asce313 3 года назад +1

    This is gonna be super interesting.. Also, John could you please make some more projects in Django? Thanks alot! 👍

    • @Codemycom
      @Codemycom  3 года назад +3

      Sure thing, Django is every Wednesday

  • @2907Prashantyerunkar
    @2907Prashantyerunkar 2 года назад

    how can i add or multiply the data in PYQT5 designer table widget . like we do in excel =a2*b2 or =sum(a2:b2) . i want to insert numberical value in row cell in Qtable and use it for user input and calulation

  • @chrisray1567
    @chrisray1567 3 года назад

    When you name a variableOrFunctionLikeThis it’s called camel case, presumably because the capital letters look like humps on a camel 🐫

    • @MichaelAlcock
      @MichaelAlcock 3 года назад

      Thats correct, and snake looks like a snake doesnt_it

  • @ayxanxasmmmdov1438
    @ayxanxasmmmdov1438 2 года назад +1

    Hi, there is problem in qtw.QPushButton(). So, my python give me error (invalid syntax). But when I delete (clicked =Lambda : press() )from QPushButton, it don't give error

    • @MartimDev
      @MartimDev 2 года назад +1

      Lambda should be lower case. Usually errors tell you in which line of code they occurred.

    • @flihe
      @flihe Год назад

      @@MartimDev haha, got the same issue - thanks for the help XD

  • @rave4e
    @rave4e 3 года назад

    Thanks for all of your great work!
    PyQt5 is free for use? I thought it cost a lot of money to use this library

  • @jockfaire
    @jockfaire 2 года назад

    I have a dashboard form with several buttons in a Vertical Layout. In my database i have 3 types of users-Admin, Clerk and Manager. After logging in i would like to enable and disable some of the buttons on the form based on which type of user has logged in. How can i achieve this functionality in the code?

  • @pythonusersheng3370
    @pythonusersheng3370 3 года назад

    Thank you Codemy. Good job!. I am wondering why the window "hello" does not pop out. No error message. Any clue?

  • @magicmanj32
    @magicmanj32 8 месяцев назад

    started following you tutorials....got following error running this script.......DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead
    mw = MainWindow()..........Im on python 3.12.2 and PyQt6 if that helps

    • @magicmanj32
      @magicmanj32 8 месяцев назад

      Im like new to python this week lol

  • @bacharobeid7430
    @bacharobeid7430 2 года назад

    Thanks alot. Is there such a course in your website?

  • @shubhrabhadauria
    @shubhrabhadauria Месяц назад

    running in pycharm, doesnt show any window and program is very difficult to terminate once run.

  • @codingforpythoneers2074
    @codingforpythoneers2074 3 года назад

    im getting an error AttributeError: module 'PyQt5.QtWidgets' has no attribute 'QtWidgets' even only typing the import statement
    this is mine
    import PyQt5.QtWidgets as qtw

  • @raingum
    @raingum 2 года назад

    Can we add buttons and text without layers? Is that possible ? when i try it doesn't show up in the window but is there a way to do that im courious?

  • @stevemorse5052
    @stevemorse5052 3 года назад

    Why use a virtual environment?
    I could not get it to work, and when I re-opened the project it did not find anything, and it reported an error.
    My workaround was to install the PyQt5 without the VR, and it seems to work correctly.

    • @Codemycom
      @Codemycom  3 года назад

      Because it's best practices for many important reasons. Use the same tools I use if you don't want errors.

  • @محمودعبدالرحمن-ق7ه
    @محمودعبدالرحمن-ق7ه 3 года назад +1

    what is the better , tkinter or pyqt5 !??

    • @Codemycom
      @Codemycom  3 года назад +1

      Depends on what you want to build and your level of experience

  • @victordvickie
    @victordvickie 3 года назад

    You really became a GUI-GUY LOL

  • @jamikemichelohia2615
    @jamikemichelohia2615 3 года назад

    for desktop apps would you recommend kivy or pyqt5?

    • @Codemycom
      @Codemycom  3 года назад

      It depends on what you're trying to make

  • @chriskeo392
    @chriskeo392 2 года назад

    Can you use dataclasses to write these classes?

  • @ramshankeryadav_0_0
    @ramshankeryadav_0_0 3 года назад

    Sir, can we print whole QFrame and comonent in it, to A4 paper?
    Is this possible?

  • @sekoulbility2032
    @sekoulbility2032 2 года назад

    which environment are you using?

  • @dinushawww
    @dinushawww 2 года назад

    can we create responsive window using pyQt5?

  • @vikkukumar7278
    @vikkukumar7278 3 года назад

    hello, sir, I have a problem with my project i use node -editor in my project and there are nodes and I want to add an image or icon to the node.

    • @Codemycom
      @Codemycom  3 года назад

      Sorry, don't know what that is

  • @Redwane-Music
    @Redwane-Music 3 года назад

    why running the app in visual studio closes right away, i had to add an input at the end for it to stay open

    • @Codemycom
      @Codemycom  3 года назад

      I don't use visual studio

  • @whoami2389
    @whoami2389 3 года назад

    can you tell me which one is the best from tkinter and pyqt5 please be fast please please

    • @Codemycom
      @Codemycom  3 года назад

      It depends on what you're trying to make

  • @am1nese
    @am1nese 9 месяцев назад

    can you please help me, when i activate my virtual environment on cmder and run the code from there (python name.py) it uses the libraries that are in the machine environment and everything is fine but when i run the code in vscode it uses the global libraries + i activate my virt using (.\virt\Scripts\activate.bat) because source is not a recognized in cmder + thank you for the effort you put on these aweseome videos you have been a great help

    • @Codemycom
      @Codemycom  9 месяцев назад

      Sorry I don't use or recommend VS Code

  • @mehmetbayrakci3269
    @mehmetbayrakci3269 3 года назад

    Hello guys! I coded this tutorial in vscode. And I run code from directly .py file. It worked a few times, I saw windows a few times but however the windows doesn’t display on the screen. I don’t understand why. Does anyone help me about this problem? When I open .py file, just C:\Windows\py.exe window opening but our coded window doesn’t display.

    • @adityaparkhe5121
      @adityaparkhe5121 2 года назад

      having the same problem, did you solve the problem?

  • @bluefandango
    @bluefandango 3 года назад

    hello quick question:
    - is qt designer free of hassle? no traps? if i download it am i able to use it with no restrictions? no one knocking at my door to check if i shared my code or not?
    - is it linux friendly you think?

    • @shirokuma4168
      @shirokuma4168 2 года назад

      if you wanna share the apps without sharing the source code you must pay for qt license that's what i read in qt webpage

  • @gnancyg4069
    @gnancyg4069 3 года назад

    How to rectify
    Attribute error:'function' object has no attribute'font' in tkinter text editor

  • @stallonetht
    @stallonetht 3 года назад

    Does my button.clicked.connect(press_it()) do the same thing as the code used in this video
    my_button = qtw.QPushButton("press me!", clicked = lambda: press_it())?

    • @Codemycom
      @Codemycom  3 года назад

      you tell me

    • @stallonetht
      @stallonetht 3 года назад

      @@Codemycom I supposed they should work the same, but the latter as demonstrated in this video does the job to call the value input from QLineEdit for me but the former simply does nothing.

    • @markfields9944
      @markfields9944 2 года назад

      @@stallonetht from what Ive read and used with in my own code lambda runs into issues with multiprocessing that ive been able to resolve with the clicked.connect method. Not really sure why all i can find about it is that it can cause issues emitting signal outside of its thread in a Qmainwindow or what ever GUI class the the click event is defined.

  • @leonedott
    @leonedott 3 года назад +1

    Incredibly frustrating that the name is not QtPy :(

  • @ශිෂ්යයත්වගණිතගැටලු

    Can you teach ethicak hacking with python

  • @shivansh9387
    @shivansh9387 3 года назад

    Can plz add the PyQt Designer in this series?

    • @Codemycom
      @Codemycom  3 года назад

      Yes we'll definitely look at that

    • @shivansh9387
      @shivansh9387 3 года назад

      @@Codemycom Thanks sir! Really appreciate that. 🙂

  • @Cricheroes92
    @Cricheroes92 3 года назад

    Sir how we can create simple web apps/GUI for carrying out engineering calculations based on user's input values.
    I know how to create standalone desktop apps with MATLAB App designer but same can't be shared on an open internet. Thats why i am looking for alternate methods
    Pls guide me if you can

    • @Codemycom
      @Codemycom  3 года назад

      Web Apps and Guis aren't the same thing. Web apps are websites...GUIS are graphical user interfaces (desktop apps). Which do you want?

    • @Cricheroes92
      @Cricheroes92 3 года назад

      @@Codemycom First of thanks for your fast response.
      I need something similar to GUI,but i would like to include it in my personal academic website. So my students can find it useful for the Engineering calculations. how it is possible.
      Here i am attaching two examples for your reference
      1
      www.jnovy.com/jnovy/calcs/MohrsCircle2d/mohrsCircle2d.html
      2
      www.efunda.com/formulae/solid_mechanics/beams/casestudy_display.cfm?case=cantilever_endload#target

    • @Codemycom
      @Codemycom  3 года назад

      @@Cricheroes92 Sorry I don't know what those links are referring to. Those are just websites, not GUI apps. Those aren't GUI apps in any way. GUI apps cannot run on a website. Ever. They run on desktop computers only.

    • @Cricheroes92
      @Cricheroes92 3 года назад

      @@Codemycom Thank you very much sir
      So what i am talking about was, interactive website i hope.

    • @Codemycom
      @Codemycom  3 года назад

      @@Cricheroes92 Ah, then any web framework will work. I like Django. You might also need javascript depending on what you want to do...

  • @sunkbeni4161
    @sunkbeni4161 2 года назад

    so for some reason when i do .text() my program crashes instead of doing what its supposed to do. i had this problem for so long and i just cant fix it or find any fixes on google. what do i do?

    • @Codemycom
      @Codemycom  2 года назад

      What does the error message say when it crashes?

    • @sunkbeni4161
      @sunkbeni4161 2 года назад

      Its like when i press the button it crashes and there is no error message

    • @Codemycom
      @Codemycom  2 года назад

      @@sunkbeni4161 There's always an error message on your terminal.

    • @sunkbeni4161
      @sunkbeni4161 2 года назад

      @@Codemycom no error, it just crashes as if I closed it.

  • @luisjuarez9673
    @luisjuarez9673 10 месяцев назад

    User
    Import "PyQt5.Qt5Widgets" could not be resolved
    Solution: import PyQt5.QtWidgets as qtw
    or pip install PyQt5

  • @isaacmartinezrizo
    @isaacmartinezrizo 3 года назад

    create a course of pyside6 and mysql please

  • @RoadsterLoverMedia
    @RoadsterLoverMedia 2 года назад

    Hello! I have watched your TK series and your Kivy hello world. Now, I am starting Qt Thursdays series. I have some questions please.
    Which GUI would you learn if you were King for a day and the world was perfect?
    Other than 'it depends', which one would you use as far as ease of use and the ability to do a lot without being fiddly to get work done? Why?
    Thanks in advance for any insights.

    • @Codemycom
      @Codemycom  2 года назад

      I think you already know I can't answer that. It completely depends.

  • @SlayerWorshipper
    @SlayerWorshipper 3 года назад +2

    What about pygame =)

  • @talharauf3111
    @talharauf3111 3 года назад

    Sir, PyQt5 doesn't compatible for Anaconda Spyder

    • @Codemycom
      @Codemycom  3 года назад

      I couldn't say, I don't use that.

  • @Mythologos
    @Mythologos 2 года назад

    When I click the button I get this error message: NameError: name 'press_it' is not defined
    Anyone know what's wrong?

    • @Codemycom
      @Codemycom  2 года назад

      You didn't define press_it

  • @gandhimahatma7486
    @gandhimahatma7486 3 года назад

    Sir, can't I install pyqt5 on Apple m1 chip? (os: bigsur)

  • @dirkbirot2155
    @dirkbirot2155 3 года назад

    Can you tell me jf there is a good book or webside that can teach you the diffrent functions in. Vs code i am now about too try my hand at.coding indown loaded vs code amd. Lost on what too do. Insee that you have too.down load allt.off stuff. For.differet. programs but cant you doesn't vs code have everything i see most off the major programs.on the vs code sight

    • @Codemycom
      @Codemycom  3 года назад

      Sorry, I don't use vsCode or recommend it for that reason. I use sublime text and git-scm.com terminal and it couldn't be easier

    • @dirkbirot2155
      @dirkbirot2155 3 года назад

      Ok thank you

  • @adfinemrising
    @adfinemrising 2 года назад

    howd you create the squigly f.. f string

    • @Codemycom
      @Codemycom  2 года назад

      What do you mean? Just press the buttons on your keyboard.

    • @Srokaldinho
      @Srokaldinho 3 месяца назад

      @@Codemycom What he menat was probably that the f in the font you use looks similar to a ƒ function symbol. I faced a similar problem with lambda, mistook it for a capital L.