Это видео недоступно.
Сожалеем об этом.
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
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?
im having the same problem :(
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! 😄
@@PythonSimplified hey! I tried this but this time there's no error but still the logo is not visible...
@@khushbooagnihotri7241 Yep, same problem here. Did you find a solution?
@@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.
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!
Great video and great tutorial style! Love the breakdowns on screen and the time spent on the timestamps!
thx ur comment! i am using utube premium, i thought those are Advs! you taught me!
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!
U so cute. I can't.
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!
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!
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.
Wow, thank you so much MygenteTV! 😁
Good luck with your channel! ❤
@@PythonSimplified thank you very much, and your welcome
This channel is so underrated this is the best python channel
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
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!
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 😅
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
I wish every youtube tutorial videos are like this..
she even put the time stamps (chaptering)
Thank you so much Judas, glad you liked my tutorial style! 😊
Amazing editing! You've been better and better. And the content was on point! Thank you.
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 😁😁😁
Nice & Sweet Timing! I am ready for a weekend project.
Great job as always my friend.
Thank you so much!! 😀
Dear PyGui? How cool. Nice work keep it up!
Why are you writing this to your own video?
@@duckmeat4674 ???
Never before i have felt so excited when I watched a video about programming
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!!
could u elaborate? i am a beginner
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!
One thing is for sure, this channel is going to be really big 😳
This is awesome, bringing NLP to life with NLTK! Awesome work!
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!
Simple, to the point, and the app looks great! I've really been wanting to try this library out, thank you for this video!
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 😉
Not working with python 3.7
Great video! Explained clear and concisely.
I like the energetic style of your tutorial!
Waiting for new one)
Thank you so much Oksana! 😃
Just finished editing another GUI tutorial, will be published tomorrow! 😁
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 🤩
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
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!
@@PythonSimplified Always welcome ^_^
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!
Python simplified: "Much more user friendly, and much more intuitive than tkinter"
Qt programmer: "Good bye customizable, good by performance"
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 😀
It was an immense pleasure to see this tutorial, the first run it worked for me !! I love you! greetings from PE
Oh wow, I've never heard of Dear PyGUI! Thanks for the video and good job on the app!
3:54 cd stands for “change directory”
They probably confused it with cwd: current working directory. But yes, cd means change directory. 👍
@@zerfl its not cwd its pwd actually xD
My favorite Python teacher ☺️
I love ur english, could listen for hours, even if there will be topics im not interested XD
I watch this video so you can teach me how to use python, but instead you taught me how to love
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
A good and intuitive video for dear pygui beginners! Very useful!
Thank you so much Carry, I'm glad you liked it! 😃
@@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
Tkinter is no way close to the visuals of this app , btw great video
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! 😁
Tkinter sucks
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
@@FernandoGonzalez-vy1cn tkinter is gay af
absolutely sublime description and display ...love to watch and learn from ur contents .
Thank you so much Rezwan, I'm glad you like it! 😁😁😁
anyway python was the first language i eve ever used in my life its very easy to start with
Wow, you are so insightful, and you made it fun! Great tutorial! :)
I'm new in python, but I've learnt tons of tricks in this video . You're awesome 👌 👏
Thank you so much Ebraheem, I'm glad you found this video useful! Good luck on your Python journey! 😀
Been on the lookout for some good python desktop app package , this video will finally enable me to create some cool projects.
this video has a good pace and is super helpful! really appreciated, thanks!
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 ?
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!
Someone that knows what she is talking about! And she is beautiful Too. Put a picture of your family on RUclips also please!
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!!
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
@@PythonSimplified "Female programmers are like majestic unicorns" it's the perfect metaphor!
i needed this so bad for my homework. Thank you very much!
Yeyyyy! Glad to hear that! I'm always happy to help, especially with school stuff!! 😁
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()`
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 😅
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
When you check the url in file explorer, if you just type cmd in that field, a commando promt start with in that directory. :)
Thankyou!, I am new to programming and this is my first app, this tutorial is very fun and very easy to understand!.
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😉
Thanks a lot. Your videos are short and pack a lot of info. Awesome!
This is a very cool video indeed, and I like the way you explain things. Good job, and thanks!
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
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! 😍
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?!"
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!! 😁
3:54 I knew that cd stands for change directory 🙁 My life is a lie 🤦♂️By the way.. Great video mam
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!! 😃
@@PythonSimplified isnt it pwd?😂
@@nomadvagabond1263 yes 😂
@Christian Weissmuller atleast someone know his commands👀: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 😂
Обычно нативных англоязычных замучаешься понимать, а у этой девочки фантастически внятная дикция, всё понятно, как будто по русски говорит 👍
а я вообшето из Крыма... 😉 спосибо большое! очень приятно слышать что мой англиский легко понять 😊
@@PythonSimplified блин, обидно (( думал наконец-то англичане начали внятно говорить, а это опять наши 🤭
Your tutorials are great! I'm learning a lot, thank you! 😁
Yeyyy!! Thank you so much Diego, glad I could help! 😊
Checked out Atom thanks to you. I friggin love it!
That's awesome!! Super glad you loved it, it's my all-time-favourite IDE! 😁
Very good Dear PyGui tutorial
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 :)
Your training is really great and you like it
Thank You ! Yes, this GUI is much better for teaching Python than Tkinter !!
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)
@@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 . . .
This girl look promising, maybe her channel will blow up.
Thank you The TrEnds, I sure hope so! 😁
@@PythonSimplified This girl's reply is also promising, now her channel will surely blow up.
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.
I like this kind of video, keep it on. Maybe can do more about python automation also 🎉
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! 😁
A fellow Canadian! Thank you for an excellent tutorial. I look forward to seeing many more. Happy Coding form Ontario. :D
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 😉
@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.
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 😅
Excellent and clear Explanation. Thanks
Thank you so much, glad you liked it! 😊
Thanks for this video. I have necer heard of dearpygui and it looks awesome. I build my own UI app with that library.
My huge thanks to you, lady!
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
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
@@PythonSimplified thank you kindly!😃
"I like to be specific"
Loved this video... I tried it too...
Thank you so much 🙏
Awesome! I'm really glad you loved it Romir! 😃😃😃
Hey did dearpygui just update their package or sth? i tried to import dearpygui.simple but the module is not found
You really don't know how much cool you dam are!
This is exactly what I searching
thank you! ❤️👍
Great video, just lovely, thank you for sharing the knowledge.
You're welcome Basel! I'm gad you liked it! 😃😃
Please make more video like this....btw u make really nice video🤗
Hey my wonderful teacher
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?
happened to me too
"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."
@@tomi4717 you are the hero of the day mate!!
@@emrahe468 naah i just copypasted it from Mariya who copypasted it from somebody else.
@@tomi4717 Still helped and saved tons of time :) ty
CD stand for change directory not current directory
What's your stance on PySimpleGUI and how do you see it compare against Dear PyGUI?
Oh the things I'm going to get into in the realm of programming.
lol, u keep changing ur favourite code editor
It is perfect tutorial, i didnt try but the tutorial is very illustrative, Thank you..
Thank you Baris, I'm glad you liked it! 😀
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?
Geez you're good, Really Really Good!
Great video
I'm so glad there's something better than tkinter :)
Thx for sharing
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)
בכל אופן, תודה רבה יאיר!! 😁
תענוג לראות חברה' ישראלים שמגיעים לערוץ! 🥳🥳🥳
@@PythonSimplified הולי פאקקקק מישראל😜😜😜😜
To be honest I started using qt it's way more easier to work than dearpygui
It's like visual studio
אחלה ערוץ אני עדיין לא מאמין שאת ישראלית 😎
@@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 צופים, מה הסיכויי שיהיו ביניהם ישראלים?? טירוף! 😁😁😁
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.
mariyasha estou maratonando seus videos muito bom. Parabens pelo trabalho ganhou fan no Brasil.
I liked the video! A kiss from the people of brazil 🇧🇷
sweet that time stamp
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!
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! 😊
3:53 I always thought "cd" was short for "change directory". Am I wrong in this thinking?
"cd" stands for "change directory", you are absolutely correct!
"cwd" is "current working directory", there's been a serious brain fart in this video 🤣
Great video! I am graduating under CIT and I dislike python, and this video was super clear. #Subscribed!
I think the sniper was aiming at his go pro. To show his talent.
very good....more videos
Thank you, will do! 😃
Yey, lady programers, we need more of them so men dont die alone
Yes, then just maybe we won't have to code them ourselves
Thanks for your video!!! I have a question. Can i use PyQT or Tkinter library to build mobile app?
cd means change directory not current directory
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..
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! 😀
@@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!!!