Это видео недоступно.
Сожалеем об этом.

Create a Python App with Dear PyGui - Graphic User Interface

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024
  • ** IMPORTANT NOTES **
    finishedProject/app.py is now updated with global pred= []
    Please avoid initializing it at check_spam(pred=[]), but initialize it earlier on a global scope and only then pass it to check_spam(pred). Complete + Updated Code on Github:
    github.com/Mar...
    If you had any issues with the code presented in this video - please check out the link above to see if it resolves is!
    ** VIDEO DESCRIPTION **
    Learn how to create a fully-functional Python app step by step!
    In this project, we will build a graphic user interface with the brand new Dear PyGui library!
    We will connect this interface to my Simple SMS Spam Filter, which we've built together in a previous project.
    We will learn how to display images, text, user input, buttons, and separators, as well as hiding widgets and "click" event callback functions.
    Starter Files:
    github.com/Mar...
    ******************************************
    Time Stamps:
    ******************************************
    00:00 - Intro
    00:39 - Starter files walkthrough
    01:03 - Open app.py in Code Editor
    01:24 - Set widow size
    01:43 - Set font size
    02:00 - Set a theme
    02:24 - Initialize window object
    03:32 - Run Python file from command line
    04:37 - Adjust position on secondary window
    05:21 - Display an image
    07:14 - Set padding
    07:52 - Add separator
    08:10 - Add Vertical Spacing
    08:27 - Add a text widget
    09:02 - Change text widget color
    09:57 - Add a text input widget
    11:02 - Add a button
    11:19 - Attach a callback function to the button
    11:43 - Define callback function
    12:45 - Discussing the logic behind the callback function
    13:39 - Access window object from inside the callback function
    14:04 - Collecting user input
    16:11 - Importing functions from a different Python file
    17:04 - Learn more about these functions in my Simple SMS Spam Filter video tutorial!
    17:19 - Adding widgets inside callback function
    17:42 - Pre-Process the input
    18:16 - Predict if the input is spam or not
    19:13 - Adding a dynamic text widget inside callback function
    20:17 - Hide widget
    20:47 - Replace hidden widget with a new one
    21:04 - Test the application
    22:34 - Thank for watching!
    ******************************************
    DearPy GUI Documentation:
    hoffstadt.gith...
    #python #pythonprogramming #gui #graphicuserinterface #app #application #dearpygui #dearpy #programming #atom

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

  • @t60-vrvideos67
    @t60-vrvideos67 3 года назад +7

    Hi, I got this two errors when I try to run the first part of the code, I'm stuck at the logo.
    TypeError: function missing required argument 'pmax' (pos 4)
    Exception: Error parsing DearPyGui Marvel::draw_image command on line 16.
    Could you please help me with that?

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

      im having the same problem :(

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

      Hi there! 😊
      You might need to use more parameters when calling draw_mage(), I was able to skip a bunch of them but I guess it doesn't work for everybody 😅
      maybe try the following command:
      draw_image("logo", "logo_spamFilter.png", [0, 240], pmax=[50, 240], uv_min=[0, 0], uv_max=[1, 1], tag="logo")
      Let me know if it worked! 😄

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

      @@PythonSimplified hey! I tried this but this time there's no error but still the logo is not visible...

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

      @@khushbooagnihotri7241 Yep, same problem here. Did you find a solution?

    • @JerimiahHam797
      @JerimiahHam797 3 года назад +11

      @@diegollopis9553 What ended up working for me was :
      draw_image("logo", "logo_spamFilter.png", [0,0], [458,192])
      The first coordinates are the lower left hand corner, the next coordinates are the upper-right-hand corner (pmax). It doesn't need to be a named parameter.

  • @scorheim
    @scorheim 2 года назад +5

    You have a tremendous gift for teaching. I recently got back into coding after a 6+ year hiatus. I mostly program for fun and your tutorials have been a godsend in helping me brush up on Python. Keep up the excellent work!

  • @OfficialDevTips
    @OfficialDevTips 3 года назад +38

    Great video and great tutorial style! Love the breakdowns on screen and the time spent on the timestamps!

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

      thx ur comment! i am using utube premium, i thought those are Advs! you taught me!

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

      Thank you so much DevTips! I'm really glad you like my tutorials! 😀
      Those timestamps are so much work but I find they are always worth it!
      I wouldn't be very happy to watch a 20 minute video if all I need to solve my problem hides in a 15 second sentence 😉
      Thanks again!

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

      U so cute. I can't.

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

    I did GUI programming w/Java and Swing for several years, but this is the first time I've done any GUI programming with Python. This was really a fun tutorial to go through!

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

      Thank you Brian, I'm glad you enjoyed it! 😁
      I've actually just finished upgrading the code for this app (mostly turning pred=[] into a global and calling check_spam as a lambda)
      I think it's a much better approach, I highly recommend to adjust it on your end as well 😊:
      github.com/MariyaSha/SimpleSMSspamFilter_GUI/blob/main/finishedProject/app.py
      Thanks again and have a lovely week!

  • @MygenteTV
    @MygenteTV 3 года назад +11

    as a youtuber and programmer myself. I came here to learn something new. To see what you have to offer, but i cant help it, i have to tell you this... your beauty is just out of this world.

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

      Wow, thank you so much MygenteTV! 😁
      Good luck with your channel! ❤

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

      @@PythonSimplified thank you very much, and your welcome

  • @abdallahmohammed9978
    @abdallahmohammed9978 3 года назад +23

    This channel is so underrated this is the best python channel

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

      Thank you so much Abdallah! I'm really glad you're enjoying my videos! 😁
      By the way, I just finished updating the complete code for this tutorial and fixing some of the issues people encountered. I highly recommend checking it out, as it's a much better approach from what I've originally instructed 😉:
      github.com/MariyaSha/SimpleSMSspamFilter_GUI/blob/main/finishedProject/app.py

  • @alexanderpoplawski577
    @alexanderpoplawski577 3 года назад +12

    Congrats, great tutorial for beginners. Just one info. When you import functions from another module, you don't need to repeat the imports of that module. Python does this automatically during the import. I am glad to see young women taking interest in science and programming. Keep up the good work!

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

      Awesome! Thank you so much Alexander! 😃
      I've just removed the unnecessary modules from app.py on Github... too late for those who rely on the video though, they'll end up with extra 8 lines of code 😅

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

    Dang, you are the best programmer I have ever seen in this RUclips channel. Your programs are so clean and neat, as well as the code!!!!!!!! Keep on going

  • @judasthepious1499
    @judasthepious1499 3 года назад +6

    I wish every youtube tutorial videos are like this..
    she even put the time stamps (chaptering)

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

      Thank you so much Judas, glad you liked my tutorial style! 😊

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

    Amazing editing! You've been better and better. And the content was on point! Thank you.

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

      Thank you so much Wanderson! 😃
      Super glad to hear you like the upgrades! Trying to improve from one video to another as much as possible 😁😁😁

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

    Nice & Sweet Timing! I am ready for a weekend project.
    Great job as always my friend.

  • @CodingEntrepreneurs
    @CodingEntrepreneurs 3 года назад +28

    Dear PyGui? How cool. Nice work keep it up!

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

    Never before i have felt so excited when I watched a video about programming

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

    As a somewhat seasoned software developer, this Dear PuGui looks like an absolute nightmare 👀 however, it would be fantastic for new developers! Also, super great tutorial!!

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

      could u elaborate? i am a beginner

  • @user-dy5ho4sj2w
    @user-dy5ho4sj2w 3 года назад +2

    I have been trying to learn Python and I am super stoked to find this channel. You are my favorite Python teacher
    🤘😄 Thanks for your videos!

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

    One thing is for sure, this channel is going to be really big 😳

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

    This is awesome, bringing NLP to life with NLTK! Awesome work!

  • @oraz.
    @oraz. 2 года назад

    I've been been fiddling around for a week looking at the other GUIs and not liking them but looks perfect! Especially the code. TY!

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

    Simple, to the point, and the app looks great! I've really been wanting to try this library out, thank you for this video!

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

      Thank you so much for the amazing feedback! 😊
      I think that one of the biggest benefits of Dear Py is the ability to set a theme and not worry about the design part. It saves so much time and planning while the results are very professional and sleek! 😃
      I'm a huge fan, can't wait for them to leave Beta so we can do so more experiments with it 😉

  • @ShakeelKhan-pz6zl
    @ShakeelKhan-pz6zl 2 года назад +3

    Not working with python 3.7

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

    Great video! Explained clear and concisely.
    I like the energetic style of your tutorial!
    Waiting for new one)

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

      Thank you so much Oksana! 😃
      Just finished editing another GUI tutorial, will be published tomorrow! 😁

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

    love your tutorials, just was trying to watch from the old ones.. But like this one with Dear Pygui is outdated. Will be waiting for your new content 🤗 Thanks for sharing your knowledge 🤩

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

    You can use the comma instead of + in print :3 it also adds space for your strings so you don't have to add them manually !
    print("hello","world") -> will produce hello world

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

      Absolutely! I sometimes do that, but I'm trying to stay away from it because it only works within the scope of the print statement 😊
      You'll see earlier videos of mine where "," is the concatenating character rather than "+" 😉
      Thank you for suggesting!

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

      @@PythonSimplified Always welcome ^_^

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

    Thanks for making this video! I found Dear pyGUI super simple to learn and easy to use.
    I has helped me along my journey of learning python.
    It is fairly new so I have found it very limiting in the designs I want to make. but the dev team seems active and hopefully, this becomes as viable as Tkinter!

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

    Python simplified: "Much more user friendly, and much more intuitive than tkinter"
    Qt programmer: "Good bye customizable, good by performance"

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

      How about "hello to a PyQt5 tutorial that's premiering in 40 minutes?" 😉:
      ruclips.net/video/9iZLDnW_vwU/видео.html
      I'm actually a much bigger fan of Qt myself, it's better than any other GUI tool I've encountered so far 😀

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

    It was an immense pleasure to see this tutorial, the first run it worked for me !! I love you! greetings from PE

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

    Oh wow, I've never heard of Dear PyGUI! Thanks for the video and good job on the app!

  • @a2902793
    @a2902793 3 года назад +61

    3:54 cd stands for “change directory”

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

      They probably confused it with cwd: current working directory. But yes, cd means change directory. 👍

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

      @@zerfl its not cwd its pwd actually xD

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

    My favorite Python teacher ☺️

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

    I love ur english, could listen for hours, even if there will be topics im not interested XD

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

    I watch this video so you can teach me how to use python, but instead you taught me how to love

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

    Don't have time to watch the video rn but it looks so clean in the thumbnail, so much better than tkinter and probably so much easier than a custom pygame gui. Added to watch later, i'll come back to this when i remember that my watch later folder exists lol

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

    A good and intuitive video for dear pygui beginners! Very useful!

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

      Thank you so much Carry, I'm glad you liked it! 😃

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

      @@PythonSimplified Actually I had made 2 apps with pyqt5 about 2 years ago, and one of them are ugly. So I update the app with the 'webview', and realized the algrithom with javascript , but the communication between javascript and pyqt5 is complicated. Dear Pygui may be a fantastic way for me to bring my ideas to come true

  • @carlmascarenhas4124
    @carlmascarenhas4124 3 года назад +17

    Tkinter is no way close to the visuals of this app , btw great video

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

      I absolutely agree with you Carl, Tkinter is very old school!
      Its time to get some new players into this GUI game and I think that Dear Py is doing a great job so far! 😀
      And thank you! 😁

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

      Tkinter sucks

    • @FernandoGonzalez-vy1cn
      @FernandoGonzalez-vy1cn 3 года назад +1

      oh come on, sometimes the old school is good but I recognize that it is more complex to make tkinter look good, excellent video, new sub

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

      @@FernandoGonzalez-vy1cn tkinter is gay af

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

    absolutely sublime description and display ...love to watch and learn from ur contents .

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

      Thank you so much Rezwan, I'm glad you like it! 😁😁😁

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

    anyway python was the first language i eve ever used in my life its very easy to start with

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

    Wow, you are so insightful, and you made it fun! Great tutorial! :)

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

    I'm new in python, but I've learnt tons of tricks in this video . You're awesome 👌 👏

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

      Thank you so much Ebraheem, I'm glad you found this video useful! Good luck on your Python journey! 😀

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

    Been on the lookout for some good python desktop app package , this video will finally enable me to create some cool projects.

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

    this video has a good pace and is super helpful! really appreciated, thanks!

  • @farfarqua3301
    @farfarqua3301 2 года назад +4

    very nice video , but today (jan 2022) the API of dearpygui is totaly changed from 2020 , maybe you can make a new video , with new code sample ?

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

    Found the channel by this video, great stuff! You will get 100k subs in no time. I might recommend trying out some content on the godot game engine, the builtin scripting is similar to python. An early pivot to broader content could work well for channel growth, though that might necessitate a name change. Either way, im subscribed!

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

    Someone that knows what she is talking about! And she is beautiful Too. Put a picture of your family on RUclips also please!

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

    Very interesting library, it seems way practical than Tkinter! Plus, it's the first time I watch a video where there's a woman coding and I think it's awesome!!

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

      Thank you Andrea! 😁 Dear PyGUI is so much friendlier than Tkinter, it's beyond comparison!
      I actually started to see lots of different ladies (all blonde ladies, for some reason 😅) who teach programming on RUclips! C++ and Javascript though, but still pretty damn cool!
      Female programmers are like majestic unicorns for now, very rare and legendary! but I think it's about time to destroy the stigma 😉
      By the way, I just finished updating the complete code for this tutorial and fixing some of the issues people encountered. I highly recommend checking it out, as it's a much better approach than what I've originally presented:
      github.com/MariyaSha/SimpleSMSspamFilter_GUI/blob/main/finishedProject/app.py

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

      @@PythonSimplified "Female programmers are like majestic unicorns" it's the perfect metaphor!

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

    i needed this so bad for my homework. Thank you very much!

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

      Yeyyyy! Glad to hear that! I'm always happy to help, especially with school stuff!! 😁

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

    Hi, Just a few tips.
    1) The "with" statement is not a "switch" statement. It's a context management and is very useful for declaring statements in context of the with statement. Admittedly, this is a rather advanced topic and is hard to explain ironically out of context.
    2) It is extremely bad practice to do "*" imports. This loads the entire dearpygui library into your namespace. This is huge! Now a beginning user has now idea where a function like "window" is coming from. Is it from python? Is it a builtin keyword? Is it from the library? I would highly recommend you explicitly import just what you need so people have context of what they are using.
    3). The with statement is most useful with an "as". `with window() as window_context: window_context.set_window_pos()`

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

      Hi Jordan! Thank you for your suggestions! 😁
      I will definitely try your "with window as" tip the next time I'll be revising the code on Github! 😊
      In terms of the other tips, I'm mostly following the documentation of each module, so if the documentation recommends using "with", I would very rarely argue, especially when the module is still in beta - I don't really want to mess with what the developers of Dear Py are suggesting.
      I've noticed now that their documentation changed since, but you can still see older code examples, where "with window" was recommended:
      pypi.org/project/dearpygui/
      In terms of importing with "*" it seems like I cannot win this! If I'm not importing with "*" - people complain. If I am importing with "*" - other people complain! 😂
      So my apologies, I can only do one at a time, I'm just trying to keep everybody happy and it might just be an impossible thing! 😁
      Additionally, if you noticed, DearPy has a special structure of "simple" and "core" functions. In their particular case, I would find it much more confusing to use "from dearpygui import core, simple" for beginners as you would have to know for a fact if a particular method belongs to core or simple before you call it.
      For example: core.add_text("Hello world") as opposed to simple.window("My Window"). You'd have to be very familiar with DearPy if you're avoiding importing "*", which would definitely take away from the simplicity of this GUI library.
      Professional programmers may cringe at some of the things I do - but I'm mostly here to simplify, even if it unfortunately, means compromising on other factors...
      Again, thank you so much for your suggestions Jordan!
      I hope other lovely people apply your tips and make an incredibly improved Spam Filter App as a result!
      and sorry for the long comment, I almost wrote a book here hahaha 😅

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

      i think it depends on the case, for example if we use with open for a file, it is so that the file closes automatically by itself so with or without the 'as' it is good to use, on the other hand for the import *, I did some tests with tkinter and py-to-exe, if you have to compile the app in exe and you use a lot of libraries, it can create conflicts, but I did not notice any size difference between the two apps compiled, although everyone says it is not better to do it, including me it seemed strange to me. sorry for my low level english i'm french speaking

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

    When you check the url in file explorer, if you just type cmd in that field, a commando promt start with in that directory. :)

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

    Thankyou!, I am new to programming and this is my first app, this tutorial is very fun and very easy to understand!.

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

    Merci c'est toujours aussi cool de voir une fille programmer.. je pense que tu viens de me donner une idée de vidéo.. ça me rappele kivy tout ça..😀
    Nice job😉

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

    Thanks a lot. Your videos are short and pack a lot of info. Awesome!

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

    This is a very cool video indeed, and I like the way you explain things. Good job, and thanks!

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

    Thank you so much for this tutorial! Just what I needed to get started with GUIs. I only had a problem with the png image now showing at all

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

    Thank you very much for your tutorials, they are just perfect, get a starting point for the topics to experiment further! I love them so much! 😍

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

    Wife walks in: "OMG are you watching teenage girls!?"
    Me: "NO! She's presenting a tutorial on Python GUIs! Jeez, calm down!"
    Daughter: "OMG Dad! What are you watching?!"
    Me: "For gawd sakes, it's a new Py ... will you guys cut it out!?"
    Son: "Whoa Dad! Can you get me her number?"
    Me: *face-palm* *pauses video*
    Me (again): "Guys, not every tutorial is presented by a 40+ year old, bald goatie guy you know?!"

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

      Hahahahaha this is hilarious Cavan!!! I almost fell off the chair! 🤣🤣🤣🤣 Sorry for the inconvenience, and tell your wife I'm super flattered she used "teenage" to describe me as I'm unfortunately nowhere near that!! 😁

  • @DebayanSarkar
    @DebayanSarkar 3 года назад +16

    3:54 I knew that cd stands for change directory 🙁 My life is a lie 🤦‍♂️By the way.. Great video mam

    • @PythonSimplified
      @PythonSimplified  3 года назад +21

      Nonono your life is not a lie!! You are actually correct, I'm the one who messed up!! 🤣🤣
      Cwd is current (working) directory, cd is indeed change directory - I'll clarify it in the next video, sorry for the confusion! I've been using this command for years and called it the wrong name 😅
      And thank you!! 😃

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

      @@PythonSimplified isnt it pwd?😂

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

      @@nomadvagabond1263 yes 😂

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

      @Christian Weissmuller atleast someone know his commands👀:3

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

      @@nomadvagabond1263 pwd is Present Working Directory it helps you to get the path of the direcrory u r in..Ya that would be current directory in some sense 😂

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

    Обычно нативных англоязычных замучаешься понимать, а у этой девочки фантастически внятная дикция, всё понятно, как будто по русски говорит 👍

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

      а я вообшето из Крыма... 😉 спосибо большое! очень приятно слышать что мой англиский легко понять 😊

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

      @@PythonSimplified блин, обидно (( думал наконец-то англичане начали внятно говорить, а это опять наши 🤭

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

    Your tutorials are great! I'm learning a lot, thank you! 😁

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

      Yeyyy!! Thank you so much Diego, glad I could help! 😊

  • @Marco-rj3wv
    @Marco-rj3wv 3 года назад +3

    Checked out Atom thanks to you. I friggin love it!

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

      That's awesome!! Super glad you loved it, it's my all-time-favourite IDE! 😁

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

    Very good Dear PyGui tutorial

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

    Very good video - Most of all, I like your python-tutorials. Thank you very much, for your great content. I hope and wish, that you´re doing some more videos, soon :)

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

    Your training is really great and you like it

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

    Thank You ! Yes, this GUI is much better for teaching Python than Tkinter !!

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

      Oh David, if you only knew how tormenting was filming the second part of my Tkinter project, it made me miss DearPy a lot! It was the most complicated tutorial I had to explain so far, it completley drained my soul!! 😂😂😂
      And it's quite ironic because DearPy is still in Beta, while Tkinter is well known and widely-used for many years - how is it still so popular if the new players are much more useful?? There must be a secret society around Tkinter, subconsciously pushing it to the messes! (that's the best explanation I could come up with... hahaha)

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

      @@PythonSimplified Thank You for Your detailed reply ! YES, there is a secret Tkinter Society, but they forbid members like me to write about it!
      Must get back to my Python NLTP (ML) Dev Project right now ... will try to comment on some of your other vids later . . .

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

    This girl look promising, maybe her channel will blow up.

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

      Thank you The TrEnds, I sure hope so! 😁

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

      @@PythonSimplified This girl's reply is also promising, now her channel will surely blow up.

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

    dpg.set_primary_window("Simple SMS Spam Filter", True)
    This can help, making the app window fill the viewport and always be drawn behind other windows, looks more integrated.

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

    I like this kind of video, keep it on. Maybe can do more about python automation also 🎉

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

      Thank you Arios! 😄
      If automation is what you seek, you should check out my Web Scraping Facebook with Selenium tutorial, where we build an automated bot to download our entire Facebook photo gallery:
      ruclips.net/video/SsXcyoevkV0/видео.html
      Or if you prefer Instagram, I've filmed a webinar with We Are Growth Hackers where we build a commenting bot, also with Selenium and also with a 100% automation:
      ruclips.net/video/XnEgVZsZgco/видео.html
      Have Fun! 😁

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

    A fellow Canadian! Thank you for an excellent tutorial. I look forward to seeing many more. Happy Coding form Ontario. :D

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

      Thank you so much for the amazing feedback! 😁😁😁Super glad to see viewers from Ontario, I really hope you're keeping warm and it's not too boring where you're at with all the lockdowns and restrictions 😔
      Anyways, happy Monday and you'll definitely see lots and lots of cool new projects soon 😉

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

    @13:39 Trap for young players: never use mutable objects as default parameters! Use None instead. Also note that Python strings are enclosed with single quotes while double quotes usually are for doc strings.

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

    Very nice and easy to understand tutorial.... wonderful job...
    A quick look at the documentation of dear py GUI shows that there are many things we can do with it...
    Are you planning to make a tutorial series with it? If not please do consider
    I will love to see tutorials from you on more advance features of this library like custom theme, menu bars, popups, etc
    For now I guess this much is enough for me 😅

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

    Excellent and clear Explanation. Thanks

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

    Thanks for this video. I have necer heard of dearpygui and it looks awesome. I build my own UI app with that library.

  • @user-vz4mh3zd1f
    @user-vz4mh3zd1f Год назад

    My huge thanks to you, lady!

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

    Hi. Just subscribed and can't wait to binge on your entire tutorials. May I ask how to motivate an absolute beginner to start delving into this giant ocean of programming, honestly feel overwhelmed just taking the very first steps. THANKS

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

      Thank you, welcome onboard!! 😄
      I find the best way to remain motivated is to create projects such as these - but without any guidance.
      Imagine the program you are looking to build, break it down step by step, determine which modules you'll be working with, follow their documentation and slowly begin building it.
      I was very unconfident about my Python skills before I started to do so, and ever since I feel I'm nothing short of Elon Musk 🤣🤣🤣 just kidding... still feel like good-old Mariya hahahaha

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

      @@PythonSimplified thank you kindly!😃

  • @scaffus
    @scaffus 3 года назад +11

    "I like to be specific"

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

    Loved this video... I tried it too...
    Thank you so much 🙏

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

      Awesome! I'm really glad you loved it Romir! 😃😃😃

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

    Hey did dearpygui just update their package or sth? i tried to import dearpygui.simple but the module is not found

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

    You really don't know how much cool you dam are!
    This is exactly what I searching
    thank you! ❤️👍

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

    Great video, just lovely, thank you for sharing the knowledge.

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

      You're welcome Basel! I'm gad you liked it! 😃😃

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

    Please make more video like this....btw u make really nice video🤗

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

    Hey my wonderful teacher

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

    TypeError: function missing required argument 'pmax' (pos 4)
    Exception: Error parsing DearPyGui Marvel::draw_image command on line 14
    happens every time and doesn't show the image at all
    does somebody know how to fix?

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

      happened to me too

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

      "What ended up working for me was :
      draw_image("logo", "logo_spamFilter.png", [0,0], [458,192])
      The first coordinates are the lower left hand corner, the next coordinates are the upper-right-hand corner (pmax). It doesn't need to be a named parameter."

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

      @@tomi4717 you are the hero of the day mate!!

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

      @@emrahe468 naah i just copypasted it from Mariya who copypasted it from somebody else.

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

      @@tomi4717 Still helped and saved tons of time :) ty

  • @3d4arab
    @3d4arab Год назад +1

    CD stand for change directory not current directory

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

    What's your stance on PySimpleGUI and how do you see it compare against Dear PyGUI?

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

    Oh the things I'm going to get into in the realm of programming.

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

    lol, u keep changing ur favourite code editor

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

    It is perfect tutorial, i didnt try but the tutorial is very illustrative, Thank you..

  • @bennguyen1313
    @bennguyen1313 7 месяцев назад

    Is there a simple way to create led-like indicators? Basically round red/green circles that go increase brightness when a spam or non-spam message is received?
    Any thoughts on Raais / ImStudio? Or if its possible to use any imgui code with python? For example, I understand pyimgui contains the python bindings, but can I also use imPlot? Or is that the difference between dearpygui and pyimgui.. the former bundles the other libraries (implot) as well?

  • @user-jg4ci4mf8w
    @user-jg4ci4mf8w 10 месяцев назад

    Geez you're good, Really Really Good!

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

    Great video
    I'm so glad there's something better than tkinter :)
    Thx for sharing

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

      Tkinter is just the tip of the iceberg in GUI! It's like a grandpa in the field... I'm mostly using it out of respect to the elderly 🤪
      Also check out PyQt5 it's really cool too!! you can use CSS with it so you can even tackle :hover events and make animations 😎, I'll have a video on it soon too)
      בכל אופן, תודה רבה יאיר!! 😁
      תענוג לראות חברה' ישראלים שמגיעים לערוץ! 🥳🥳🥳

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

      @@PythonSimplified הולי פאקקקק מישראל😜😜😜😜
      To be honest I started using qt it's way more easier to work than dearpygui
      It's like visual studio
      אחלה ערוץ אני עדיין לא מאמין שאת ישראלית 😎

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

      @@thewhat4228 I haven't had a chance to work with qt yet (and frankly I'm also not a Visual Studio user😅 so I can't comment much about the subject hahaha)
      מה שאני כן אגיד זה שזה כנראה מפתיע אותך לגלות שאני ישראלית בדיוק כמו שזה מפתיע אותי לראות תגובות של ישראלים לסרטונים שלי! 🤣
      אני בכלל בקנדה ויש לי בקושי 2000 צופים, מה הסיכויי שיהיו ביניהם ישראלים?? טירוף! 😁😁😁

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

      I don't understand what you mean by its like visual studio. Haven't used that. But qt is pretty cool. It comes with a Programm called qt designer. That allows you to build your gui with drag and drop and generate code from that or just load the gui directly into the code. Especially for bigger guis with a lot of buttons and whatever it safes sooo much time.

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

    mariyasha estou maratonando seus videos muito bom. Parabens pelo trabalho ganhou fan no Brasil.

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

    I liked the video! A kiss from the people of brazil 🇧🇷

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

    sweet that time stamp

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

    Hi! When I try to run the code in the first steps I have an error which says No module named 'dearpygui'. I don't understand what does that mean since I don't know too much about coding. Thank you!

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

      Hi Joaquin! 😃
      You need to install DearPy first inside your working environment with:
      pip install dearpygui
      And you also need to make sure you have DirectX11 installed, as it's a dependency.
      If you're not sure how to set up a working environment, you can check out my Python installation tutorial here:
      ruclips.net/video/FZ5baopI_mo/видео.html
      Good luck! 😊

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

    3:53 I always thought "cd" was short for "change directory". Am I wrong in this thinking?

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

      "cd" stands for "change directory", you are absolutely correct!
      "cwd" is "current working directory", there's been a serious brain fart in this video 🤣

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

    Great video! I am graduating under CIT and I dislike python, and this video was super clear. #Subscribed!

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

    I think the sniper was aiming at his go pro. To show his talent.

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

    very good....more videos

  • @Veso266
    @Veso266 3 года назад +6

    Yey, lady programers, we need more of them so men dont die alone

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

      Yes, then just maybe we won't have to code them ourselves

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

    Thanks for your video!!! I have a question. Can i use PyQT or Tkinter library to build mobile app?

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

    cd means change directory not current directory

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

    Something is wrong on my side, it keeps telling me that "pred" is a 'NoneType' object is not subscriptable.
    My guess is there something funky with the 'else' statement logic in the checkSpam function.
    Also the logo is failing to show up..

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

      Hi flioink! 😊
      Did you have a chance to see my recent post about the updated code?
      You can find it here:
      ruclips.net/user/postUgx7FTaTtzd_kf5k39t4AaABCQ
      Long story short - pred = [] needs to be called on a global level rather than passed as an argument (I should have realized that before filming the video 😅).
      Also, there were a few breaking issues with Dear Py but it's all been figured out!
      The final version of the code is in the finishedProject folder on my Github (I've only adjusted app.py).
      Good luck and let me know if it worked! 😀

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

      @@PythonSimplified Hi, thanks for the reply! Yes, making 'pred' a global list solved the problem(as suspected), but it only worked when the callback was replaced with the lambda. Anyways keep up the good work and many thanks for helping!!!