Це відео не доступне.
Перепрошуємо.

PyQt5 Tutorial - Buttons and Events (Signals)

Поділитися
Вставка
  • Опубліковано 4 лип 2019
  • This PyQt5 tutorial will show you how to create buttons and trigger certain functions to run when they are clicked. It will also show you how to turn our previous code into an OOP implementation to make things easier moving forward.
    Text-Based Tutorial: techwithtim.ne...
    Playlist: • PyQt5 Tutorial - Setup...
    Get %30 off a GitPod.io subscription with the code: TECHWITHTIM2FQBMX
    www.gitpod.io/
    ◾◾◾◾◾
    💻 Enroll in The Fundamentals of Programming w/ Python
    tech-with-tim.....
    📸 Instagram: / tech_with_tim
    🌎 Website techwithtim.net
    📱 Twitter: / techwithtimm
    ⭐ Discord: / discord
    📝 LinkedIn: / tim-rusci. .
    📂 GitHub: github.com/tec...
    🔊 Podcast: anchor.fm/tech...
    💵 One-Time Donations: www.paypal.com....
    💰 Patreon: / techwithtim
    ◾◾◾◾◾◾
    ⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
    Tags:
    - Tech With Tim
    - Python Tutorials
    - PyQt5 Tutorial
    - PyQt5
    - Python 3 PyQt5 Tutorial
    - Buttons in PyQt5
    - Buttons and Events PyQt5
    #python #pyqt5 #qtdesigner

КОМЕНТАРІ • 191

  • @sethallen9420
    @sethallen9420 3 роки тому +6

    You're a dawg for creating this content for free. You're helping so many people become better man. Thank you.

    • @Troll3rHD
      @Troll3rHD 2 роки тому +1

      lmao bro chill it's just a 10 min tutorial

  • @luizsaraiva4635
    @luizsaraiva4635 3 роки тому +6

    Heyy, I'm from Brazil. You speak so damn well that it feels like I'm watching a class in portuguese. Your channel's content is amazing and helps me a lot. Thanks man.

  • @gastonscazzuso4113
    @gastonscazzuso4113 4 роки тому +26

    Thanks Tim !.. your tutorials are very clear, with a slow , easy & understandable English for non-native english spoken users!...

    • @vitormendonca2905
      @vitormendonca2905 3 роки тому +1

      @@HalfABoolean_Studios But indian accent is really easy to understand most of the times, honestly i don't even care, they're awesome programing

  • @TalimaPictures
    @TalimaPictures 4 роки тому +14

    Hi Tim. Your content is amazing. Easy to follow and well structured. Thanks. If this point has not been brought up, you could nest your clicked function under your window function. This way your clicked function has access to all the variables under your window function as they are in the same scope. That is if you don't want to define a class.

  • @ashish2099
    @ashish2099 Рік тому +1

    My gawd, even someone like me understood the concepts you were teaching. God bless you brother. I know only basics about oop concepts and yet I understood your explaination. Its people like you who make this world a better place. Thank you so much brother.

  • @Mister_Merb
    @Mister_Merb 4 роки тому +127

    To clarify, the "self.b1.clicked.connect(self.clicked)" line is a bit misleading. Tim made a method called "clicked" referenced in self.clicked but the QPushButton also has a clicked attribute.
    So, self.clicked references Tim's created method, while the .clicked attribute is built into self.b1. He probably should have renamed his method to avoid this confusion. Hope this helps someone.

    • @mounaimomri554
      @mounaimomri554 4 роки тому +3

      thx bro

    • @Kamel419
      @Kamel419 3 роки тому +3

      i was thinking the same... i would have rejected peer review if i got this. i'm a stickler about redefining existing names (whether that's a language keyword or in this case a method) and this is exactly why.

    • @lewisjudah990
      @lewisjudah990 3 роки тому

      I guess Im asking the wrong place but does any of you know of a way to get back into an instagram account..?
      I was stupid lost my account password. I appreciate any help you can give me!

    • @tannerkannon2535
      @tannerkannon2535 3 роки тому

      @Lewis Judah Instablaster =)

    • @lewisjudah990
      @lewisjudah990 3 роки тому

      @Tanner Kannon Thanks for your reply. I got to the site thru google and Im in the hacking process atm.
      Takes a while so I will reply here later with my results.

  • @MrPadmanabham
    @MrPadmanabham 2 роки тому +1

    This is awesome.. i know some coders directly start with 'Class' but you started from basic and upgraded to "class". This is more helpful in understanding.

  • @nuklearboysymbiote
    @nuklearboysymbiote 5 років тому +265

    you pressed the butt XD

    • @theevildrummingsithlord1492
      @theevildrummingsithlord1492 4 роки тому +2

      Congrats, you've got 100 likes 🤣

    • @wutzit2069
      @wutzit2069 4 роки тому +1

      We're pressing our own butts!

    • @icicle8334
      @icicle8334 3 роки тому +2

      I wanted to say this! You stole the brilliant comment from me!
      :)

  • @FrancescoTattoli
    @FrancescoTattoli 5 років тому +10

    Nice one pal. I was waiting for some GUI tutorial on python and yours is exactly what I was expecting from a tutorial: simple, clear and easy enough to understand (so long, at least). Keep up the good work

  • @soupnoodles
    @soupnoodles 3 роки тому +15

    "Now if thats confusing.. uh.. I dont really know what to say"
    Lmao

  • @mitchellstevens3948
    @mitchellstevens3948 6 місяців тому

    Excellent tutorial! I am a beginner with PyQt, and your videos are quick and concise, helping me to rapidly get up to speed! KUDOS!

  • @wernerw.1328
    @wernerw.1328 3 роки тому

    Which "any questions" do you mean. You explained everything exactly and understandable that there are no further questions. I will follow you through the next videos and enjoy it.

  • @humanbeing7938
    @humanbeing7938 Рік тому

    I like how he explains complicated things so im actually learning form the tutorial and not just copying what he's typing

  • @crystolica6591
    @crystolica6591 4 роки тому +2

    Your videos teach and explain more than all the other videos I watch. I think Im gonna have to buy a Tim mug.

    • @TechWithTim
      @TechWithTim  4 роки тому

      😊

    • @crystolica6591
      @crystolica6591 4 роки тому

      @@TechWithTim actually I purchased two mugs one to use and one to keep on my shelf. You're famous! Congrats on your job, try not to blow all the employees out of their socks. Not everybody can be a Tim you know.

    • @TechWithTim
      @TechWithTim  4 роки тому

      @@crystolica6591 Haha, well I hope you enjoy the mugs!

  • @keshavaaumritum1
    @keshavaaumritum1 6 місяців тому

    You make the best videos. Thank you, Tim.

  • @sribastavrajguru304
    @sribastavrajguru304 2 роки тому +2

    Hi Tim, I really appreciate all your work, you are one of the favourite UA-camrs of mine. One suggestion... Please try to zoom out ur screen whenever possible and/or use a larger font size while recording. Thanks

  • @mdaasil2329
    @mdaasil2329 3 роки тому

    YOU ARE THE BEST. Tomorrow is my contest submission date and you saved my life. Bro

  • @BinaryAdventure
    @BinaryAdventure 4 роки тому

    Nice tutorials Tim. I appreciate that you showed the raw code first BEFORE demoing the designer.

  • @poopscoot
    @poopscoot 4 роки тому +1

    Hey Tim I feel as though you should inform everyone that if you don't tab things correctly while using sublime it can make the script fail. I spent about an hour copying your code trying to figure out why mine wasn't working, just to realize I had a few tabs off. Thanks for these videos so far!

  • @khf3940
    @khf3940 4 роки тому +2

    you can pass in arguments to the function by using lambda, for e.g:
    pushButton.clicked.connect(lambda: clicked("hello"))
    instead of having to create classes and stuff

  • @hackytech7494
    @hackytech7494 4 роки тому

    Thanks for your tutorial. I was eagerly wanted to learn PyQt5 but i was not having any source to learn from. Your tutorials are very easy to follow.

  • @alexanderhan9145
    @alexanderhan9145 4 роки тому +1

    Robust tutorial :)
    Looking forward to learn more PyQt5 from you!

  • @jaishukla1331
    @jaishukla1331 3 роки тому +1

    In order to pass the label, you can use the lambda function and then refer it as a parameter for the function.

  • @user-jw9jr4xu1d
    @user-jw9jr4xu1d 3 роки тому

    Thanks! Very good explanation, very clear even for me - English is not my first language.

  • @PodcastsInternacioanis
    @PodcastsInternacioanis 4 роки тому

    Hey, I'm from Brazil, my english is not too good, but I can understand you perfectly, good job, thanks.

  • @migueldomingos4570
    @migueldomingos4570 4 роки тому +3

    Love your tutorials!With this GUI knowledge ia am building a app to store your accounts(passwords, usernames etc) iwth facial detection to login in.

  • @justinkim2973
    @justinkim2973 3 роки тому

    saved my life, thank you

  • @mohammedk.h.f3016
    @mohammedk.h.f3016 Рік тому

    This is a great video.

  • @irreadings
    @irreadings 4 роки тому +2

    Your tutorials are so useful and clear and easy to follow. Great work, man! Thank you so much!

  • @ten8217
    @ten8217 3 роки тому

    Thanks. I want to try something new and thanks for this. I love you

  • @tirthz
    @tirthz 3 роки тому

    Atlas
    Found a perfect tutorial series for myself

  • @Didi-si5cs
    @Didi-si5cs 4 роки тому +1

    Tim, you are my Python professor. I learned a lot from you. Thank you very much.
    And would you please make a video about how to make a stand-alone executable file out of a whole project?

  • @gamertronky8648
    @gamertronky8648 Рік тому

    With you programming becomes complicated.
    Without you programming is easy.

  • @michaelabiera
    @michaelabiera 4 роки тому

    Awesome vids. Simple and efficient.

  • @donniedorko3336
    @donniedorko3336 4 роки тому

    Phenomenal series, thank you so much!

  • @abdullahmoiz8151
    @abdullahmoiz8151 4 роки тому

    thank you very much, this was very clear and concise

  • @vadim6385
    @vadim6385 4 роки тому

    your tutorials are great

  • @mr2billylarson
    @mr2billylarson 4 роки тому

    Thanks for yours videos they helps me a lot !!!

  • @Soljarag5
    @Soljarag5 5 років тому +1

    Nice tut

  • @JasonLopez
    @JasonLopez 2 роки тому

    Dude, just subscribed to you.. you explain shit perfectly... Keep it up.

  • @markruiz9397
    @markruiz9397 3 роки тому

    good first tutorial Tim

  • @sushantdahal7809
    @sushantdahal7809 3 роки тому +1

    HELP When I run the exact same program @ 1:53 it says this:
    'PyQt5.QtCore.pyqtBoundSignal' object has no attribute 'connnect'

  • @rezamohammadi8100
    @rezamohammadi8100 3 роки тому

    very very good . thanx

  • @LeFoireux
    @LeFoireux 5 років тому +2

    In the next video you will show us how to change the button's position?

  • @chinaguy101
    @chinaguy101 3 роки тому

    that's amazing, great thanks!

  • @stephenyuenger5077
    @stephenyuenger5077 Рік тому

    Thanks!

  • @BlueRacket9462
    @BlueRacket9462 5 років тому +1

    Could you do a tutorial on docker after this series. I would really appreciate it because there aren’t a lot of tutorials on docker and you can explain things really clearly and effective.

  • @pyluke5621
    @pyluke5621 4 роки тому

    very good tutorial

  • @dnetne5508
    @dnetne5508 4 роки тому +3

    Damn, interesting.. thank you for the tutorial

  • @arbazkhan8320
    @arbazkhan8320 5 років тому

    Nice video man 👍

  • @danielbayer699
    @danielbayer699 5 років тому +7

    hey Tim, thanks for putting in the effort on explaining, how python and qt works.
    After following the tutorial, everything works fine, except that MyWindow doesn't refresh without focusing another application on my Mac first, so even if the event of the clicked button is recognised accordingly which can be seen with print in terminal, the button / labels do no show the new values. Switching to Safari and going then back to the Python Application, the label shows the new value.
    Do you have any idea, why it doesn't refresh on the button event?

    • @gabrieldessere-susini5363
      @gabrieldessere-susini5363 4 роки тому

      Hey man, have you figured out the solution? I'm still having this problem and can't seem to find anything about it. Thanks a lot.

    • @Bryan-bh7cy
      @Bryan-bh7cy 4 роки тому

      same issue =.=

    • @robertopicco1972
      @robertopicco1972 4 роки тому +5

      It's a known problem of PyQt5. Add self.label.repaint() after self.label.adjustSize() within update function

    • @Nataliee941
      @Nataliee941 4 роки тому

      Thanks Roberto Picco! Worked like a charm!

    • @erikb7758
      @erikb7758 4 роки тому

      @@robertopicco1972 Thank you! This fixed my issue.

  • @maedehshahabi4744
    @maedehshahabi4744 4 роки тому

    You're awesome! it was great.

  • @neopoligraf9991
    @neopoligraf9991 3 роки тому

    a very usefull information!!!

  • @MrELFP
    @MrELFP 4 роки тому

    Gracias Tim.

  • @katmanduYT
    @katmanduYT 3 роки тому

    thank you so much for doign this

  • @keshan-spec
    @keshan-spec 5 років тому +6

    dude.. can u help me out.. i mean like.. some tips and resources ... on how you self study .. a video maybe? please? .. it'd be really helpful.
    thank you

  • @dannisisgt
    @dannisisgt 5 років тому

    great video!!

  • @lbyfusyon7099
    @lbyfusyon7099 5 років тому

    You are the best.

  • @kitgary
    @kitgary 4 роки тому

    I get warning for defining instance attribute outside the __init__ function by pylint, maybe you need to put them back to the __init__ function to follow best practice.

  • @ravitejabanda7897
    @ravitejabanda7897 2 роки тому

    Hi Tim, can you make a video on how to resize a QMainWindow or a QWidget class to fit the dimensions of the screen being used(since every monitor has different dimensions) without inserting a layout to the widget.

  • @adityaj7664
    @adityaj7664 3 роки тому +1

    Hey Tim! first of great video, I had this one question, say I wanted the label to change text once again, that is upon a second click I wanted it to display some other text, I tried connecting it once again but a single click directly leads to the second click's text and basically ignores the first one.

  • @LoLGamers4Life
    @LoLGamers4Life 4 роки тому

    Hi Tim, your videos are great, and y ou are an exceptionally talented young man. My question is....how do you personally go about learning this stuff? Do you read through the documentation on the PyQt website? Follow other tutorials? I'd love to learn the same way you learn.

  • @ChrisHalden007
    @ChrisHalden007 5 років тому

    Great video !! Why does the label x and y seem to change when you click the button ? It looks like the new label shows a bit higher!?!

  • @felyppekazan9467
    @felyppekazan9467 3 роки тому +2

    Where did this "connect" came from? I tried using DIR, HELP, searching the documentation etc and i didn't find it. Thus, PyCharm won't auto-complete this. (Really beginner here sry)

    • @mariodrakos1029
      @mariodrakos1029 3 роки тому +4

      I am not familiar with PyQt but the documentation states, that QPushButton inherits from QAbstractButton, which inhertis from QWidiget, which finally inherits from QObject. The decription from QObject says, that you can connect or disconnect signals to a slot via the fucntions connect() and disconnect(). The documentation of QAbstractPushbutton lists the Signal clicked. I guess this is where the function connect derives from, but I am not 100 % sure. You can probably connect to different signals to the button in the same way. I.e.: "self.b1.pressed.connect(self.OnPressBtn)" or "self.b1.released.connect(self.OnReleaseBtn)" calling different methods for pressing and releasing the button.
      The documentation also has a chaoter about Signals and Slots, where the method connect() is described. www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html#connect

  • @AlanWagoner
    @AlanWagoner 4 роки тому

    Nice video. What color theme are you using if you don't mind my asking?

  • @MrIsaacpr7
    @MrIsaacpr7 9 місяців тому

    Can I use PyQt to create a simple iPhone app with Python code?

  • @mikoajwysocki6699
    @mikoajwysocki6699 3 роки тому

    Pozdrawiam Pana Piotra Kozierskiego :)

  • @dannisisgt
    @dannisisgt 5 років тому +1

    Hi Tim, there is a error I got when close windows click over "X" right up window:
    An exception has occurred, use %tb to see the full traceback.
    SystemExit: 0
    c:\users\danni\appdata\local\programs\python\python37-32\lib\site-packages\IPython\core\interactiveshell.py:3304: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
    warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

  • @fcmorena246
    @fcmorena246 3 роки тому

    thanks mate, can you make more videos' on this GUI please

  • @dev4life
    @dev4life 5 років тому +1

    from where did you learned PyQt5?

  • @user-mn6jc5si2k
    @user-mn6jc5si2k 7 місяців тому

    which python interpreter are you using?

  • @dmytrokawtoriew7132
    @dmytrokawtoriew7132 5 років тому +2

    How are you going to place widgets, in the first video you said that we can do this by using our mouse but it seems like you are going to use commands, and there is a question: Why are using Qt if there is Tkinter? As a beginner, I'm a little confused)

    • @TechWithTim
      @TechWithTim  5 років тому

      Don’t worry the next video will clear things up

    • @Lofwyrf
      @Lofwyrf 5 років тому +1

      PyQT
      - is more modern Looking
      - You have QT-Designer, so that you can do the main Design of your GUI with a nice little tool. (See next Tut)
      - It is Possible to use QML - QTMarkUpLanguage so that you can Style your UI the way you want (flat Design and so on)
      -You can Use QT with C++ (what it was written for) so if you are later learning C++ you dont need to learn a new UI-Framework
      - In General QT has more functionality (Charts, SQL, Touch Display...)
      - LG uses QT for thier TV GUIs ( ua-cam.com/video/VXjS_GQmBa0/v-deo.html )
      Okay if you want a Car GUI - QT is the way
      blog.qt.io/blog/2019/06/28/announcing-qt-automotive-suite-5-13/
      I think Tkinter is fine for small Projects if you need something larger and more modern QT is the way.

    • @BiancaAguglia
      @BiancaAguglia 5 років тому

      @@Lofwyrf Thank you. Your answer is the most useful I've seen so far when it comes to PyQT vs. Tinkter.

    • @Lofwyrf
      @Lofwyrf 5 років тому

      @@BiancaAguglia ur welcome

  • @thefanboy3285
    @thefanboy3285 5 місяців тому +1

    Heh hehe hehe "You pressed the butt"

  • @Lofwyrf
    @Lofwyrf 5 років тому

    How to Add buttons via with at method? To Create a dynamic UI?
    Nice Vid btw :)

  • @inuwara6293
    @inuwara6293 2 роки тому

    when adjusting the window, labels and buttons doesn't get readjust
    so that's what i'm dealing with right now
    any kind of solution?

  • @ApplySkills
    @ApplySkills 4 роки тому +1

    Can someone explain b1.clicked.connect(clicked)
    is connect() a function or a method? which class is this found under?

    • @geraldgeraffe2209
      @geraldgeraffe2209 4 роки тому

      Well, "clicked" is an event, so my guess is that there is some sort of event/signal class and that "clicked" is an object of that class that the button happens to have a variable for. So that would make it a method.

  • @danielandrews5357
    @danielandrews5357 4 роки тому

    If you have already imported QtWidgets from PyQt5, why are you importing QApplication and QMainWindow separately?

  • @jameswals9042
    @jameswals9042 4 роки тому

    Does this app run on Android?? Thanks, your tutorials rock.

  • @AmanKumar-bi4jl
    @AmanKumar-bi4jl 2 роки тому

    But if i use qt designer app then what should I do?

  • @dansam42
    @dansam42 3 роки тому

    Although all the OOP stuff is great, it seems to me that you would have to keep doing this labor intensive work every time you used Designer to tweak your GUI. Could you somehow pass the reference to QMainWindo ("win") to other methods that need access? Actually.... I'm not even sure if b1 is a member of the win class.... so maybe that won't work.

  • @signordoge8721
    @signordoge8721 3 роки тому +1

    i'm usually a Tkinter guy, but the crispness in PyQt5 though...

  • @hydro-programmerahmedadels2185
    @hydro-programmerahmedadels2185 4 роки тому

    Add action to a button 01:04

  • @jond532
    @jond532 3 роки тому

    Hi Tim! I have a pushButton that calls a function to print something. When i click the pushButton i get a small delay before the function is called, do you know why??
    edit: id like it to be instant.

  • @angelos3540
    @angelos3540 2 роки тому

    global label
    label.setText...
    that would also work hehe

  • @safdafdasdfasdf6300
    @safdafdasdfasdf6300 3 роки тому

    When I made the code for the button and then press play, it gives me a syntax error. Any reason why?

  • @MoodSwingZX
    @MoodSwingZX 3 роки тому

    How about certein right clicked event connected to certein button

  • @hamzanaseer1529
    @hamzanaseer1529 4 роки тому

    so if we have multiple buttons we have to create separate update functions for them?

  • @RealSupaHotFireVEVO
    @RealSupaHotFireVEVO 4 роки тому +1

    I got "Process finished with exit code -1073740791 (0xC0000409)"
    Tried to fix it but couldn't do it, hopefully, it won't ruin the next tutorials.

  • @harmannatsingh3933
    @harmannatsingh3933 4 роки тому +1

    My label's text won't change, and I have the exact same code as you. Please help me out.

    • @zebide
      @zebide 4 роки тому

      Same. Did you fix it?

    • @IsaacYongMusic
      @IsaacYongMusic 4 роки тому

      same here, I tried to copy and paste his exact code but it doesn't work either, I am on Mac if that makes a difference

    • @harmannatsingh3933
      @harmannatsingh3933 4 роки тому +1

      @@IsaacYongMusic me too I'm on a Mac

    • @IsaacYongMusic
      @IsaacYongMusic 4 роки тому

      @@harmannatsingh3933 I just figured it out! In my case I see that if self.label move() is active, it will not updated. And the solution is to add self.label.repaint() after teh setText. Let me know if that helps!
      Thanks to the gentlemen in the comment section.

    • @harmannatsingh3933
      @harmannatsingh3933 4 роки тому +1

      @@IsaacYongMusic thanks it works!

  • @kayombo1001
    @kayombo1001 3 роки тому

    Hi, thank you for sharing, please, what about if I want to button to behave like a calculator, when I click it shows up the number in a separet windows? Sorry for my broken English, Iam angolan and we Speak Portuguese.

  • @SamuelBachorik-Mrtapo8-ApeX
    @SamuelBachorik-Mrtapo8-ApeX 4 роки тому +1

    Hey guys please how i can make this button work more times ? I mean click button 3 times and label will change 3 times to something else. Is that possible ?

    • @user-hn1gp7fd2u
      @user-hn1gp7fd2u 4 роки тому +2

      Yeah That's simple. For eg- > self.label.setText(str(random.randint(0,5))) will show a new value b/w 0 to 5 in label each time button is pressed or Just store a value in a variable and update that variable to a new value each time button s pressed.

  • @nikhilchauhan5837
    @nikhilchauhan5837 5 років тому

    Next tutorial on pwa with python or python with react/react native☺️☺️ great work👍

  • @sitadevimuthkhod2574
    @sitadevimuthkhod2574 4 роки тому

    How do I use this for an exit button?
    os.system(cmd)
    QtCore.QCoreApplication.instance().quit()
    OR self.close() don't seem to work when put into def quitAction(self) and invoked through quitbtn.clicked.connect(self.quitAction)

  • @oussamaaatiq8293
    @oussamaaatiq8293 4 роки тому

    What is the difference between:
    super(Myw=Window,self).__init__()
    &
    super(QMainWindow).__init__() ?

  • @sainco3036
    @sainco3036 5 років тому

    thanks.

  • @davidkong9617
    @davidkong9617 3 роки тому

    if i edit the UI in designer, does the code in python file change too?

  • @A_Szoros
    @A_Szoros 3 роки тому

    Hey! I have a little problem here : self.b1.clicked.connect(self.clicked()) its not working for me just with lambda ( self.b1.clicked.connect(lambda : self.clicked())) without lambda I get an "argument 1 has unexpected type 'NoneType'" error message. Anyone know why?

  • @unknownman5296
    @unknownman5296 3 роки тому

    if you think Tim's video is not enough try reading the documentation, it have a lot more fun stuffs in it. www.riverbankcomputing.com/static/Docs/PyQt5/index.html

  • @omkarsalunke804
    @omkarsalunke804 4 роки тому

    Hi Tim, thanks for your python tutorials that help me and my team to learn it in simple way.
    I am facing problem with 'designer'. I did pip for PyQt5-tools l, however 8 did find the designer under folder. Please help.

    • @sameersehgal.90
      @sameersehgal.90 4 роки тому

      C:\Users\*****user name***\AppData\Local\Programs\Python\Python36\Lib\site-packages\pyqt5_tools\Qt\bin

  • @preethishroychowdhury4160
    @preethishroychowdhury4160 4 роки тому

    Hi Tim . Your videos are awesome, but I am having an issue in running the code in Python 3.7, Microsoft Visio. I am using Pylinter here. The error I am getting is " illegal target for annotation python(parser-16) 3.7" near self,
    def__init__(self):
    super(MyWindow, self).def__init__()
    self.setGeometry(100, 100, 300, 300)
    self.setWindowTitle("Roy's Test")
    self.initUI()
    please advise