Тёмный

Buttons & Events - Kivy Mobile and Desktop App Dev w/ Python 

sentdex
Подписаться 1,4 млн
Просмотров 63 тыс.
50% 1

Опубликовано:

 

28 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 72   
@pradyothshandilya8065
@pradyothshandilya8065 5 лет назад
Brilliant. I've searched for a kivy tutorial from you multiple times before. Glad to see you've done it
@slavoie
@slavoie 5 лет назад
Superb as always! Cheers! I personally like very much unpacking variables on the fly, so at 7:55, you could have something like: prev_ip, prev_port, prev_username = f.read().split(",") It's just splitting the list right into variables while unpacking. I know you know, but for those who didn't, now you do! ;)
@sentdex
@sentdex 5 лет назад
Hah, yes, that is more sexy for sure :) Thanks for sharing.
@slavoie
@slavoie 5 лет назад
Anytime! You're a fantastic teacher, with solid bonuses for being enthusiastic and fun :) . I'll become a supporter, you'll see (tight finances and debt to deal with for now, but I won't forget, I promise).
@fiesereiswuerfel1332
@fiesereiswuerfel1332 4 года назад
Maybe adding [:3] at the end could prevent errors, when the user writes "," to the input.
@ankitkumarsingh9815
@ankitkumarsingh9815 5 лет назад
Just came to know about your channel and now I am addicted😎
@rishitsharma4940
@rishitsharma4940 3 года назад
DUde thanks u saved me i told my teacher that i can develop apps and when she asked ii googled and i found You loved it keep making more like this
@MistaT44
@MistaT44 5 лет назад
You're the best bro. I got a job because of your tuts :) cheers
@sentdex
@sentdex 5 лет назад
Awesome to hear! What's the job?
@MistaT44
@MistaT44 5 лет назад
@@sentdex It's a grad position/trainee for devops! your nltk series helped me through my university!
@터닝태
@터닝태 2 года назад
I could achieve what I wanna do thanks to your video!!!!
@atdt01410x
@atdt01410x 5 лет назад
Awesome as always, I can't wait to see next class.
@safakatrahman9834
@safakatrahman9834 5 лет назад
This is the video I was waiting for
@HontTV
@HontTV 4 года назад
I love the videos! also can't stop spam rewinding to 8:29 LOLOLOL
@tissuebox1229
@tissuebox1229 5 лет назад
hey sentdex, great tutorial! I saw that you were wondering about what serie to make next, I would really like a Swift tutorial if this is possible, it seems like a very promising language, again, thank you for the continuous content.
@dominic0900
@dominic0900 4 года назад
Please help me. When I try to run it, it says it has an attribute error
@shrishailgharat1964
@shrishailgharat1964 4 года назад
My kivy app, just the basic one with one label saying "Hello world" freezes when I launch it, basicallyit lags when I interact with it. What can I do? Other programs run normally.
@MichaelKondrashin
@MichaelKondrashin 5 лет назад
More pythonic way for loading preferences: import errno try: with open("prev_details.txt") as f: d = f.read().split() ... except IOError as e: if e.errno != errno.ENOENT: raise prev_pi = "" ...
@yagzgultekinunal3840
@yagzgultekinunal3840 4 года назад
I am working with another project.What about calling the method with parameters ? Is it possible?
@dendialakadar1340
@dendialakadar1340 2 года назад
how to control so as not to click more than 1x on on release? because I experienced it, even though the ratio is 1:50 in the same second
@shritamkumarmund5273
@shritamkumarmund5273 5 лет назад
What is the reason, most of the mobile developer doesn't start to make there App with Kivy? What is your prediction on mobile development with python in the near future?
@sentdex
@sentdex 5 лет назад
Kivy is still not quiiiiiite there yet to be competitive with android apps. Kivy is definitely still a work-around for people who want to stick with Python to make apps. It's cool, but still a long way to go.
@eyebiofeedback
@eyebiofeedback 5 лет назад
@@sentdex fyi. Michael Kennedy of TalkPython.fm released an app for his streaming videos. On PythonBytes.fm he went over how he used combination of python / other language.
@JohnWiltshireIreland
@JohnWiltshireIreland 5 лет назад
For what's it worth, I predict the future of Apps to be in PWA's (Progressive Web Apps). Beauty is that you can still do all your stuff in the likes of Flask with Python, and with some (relatively) simple Javascript you can have a cross platform app....and it can be indexed so can be found by the likes of Google on searches. Uber, Twitter, Maps, Photos, Tinder, Starbucks etc...all developed as a PWA.
@debajyotimajumder472
@debajyotimajumder472 5 лет назад
Hi sentdex, I have a story to tell. I saw your CV2-python tutorial and became fairly confident in it. Then, I went to stack overflow to answer some cv2 question, so that, I can have at least 15 rep to upvote stuff. Then I answered a question.....10 min later Downvoted.....so soul crushing(even though my code worked). Did this ever happen to you dex , when you were a beginner?
@chenhonzhou
@chenhonzhou 4 года назад
Thank you
@darshakkumarranpariya867
@darshakkumarranpariya867 5 лет назад
Fantastic...... thanks
@alexeyneborak8203
@alexeyneborak8203 5 лет назад
Could you please make it clear for me? Does Kivy allow to pack an application into apk file, the same as pyinstaller does it for Windows? Or we need a sort of launcher to start kivy-written script on a mobile phone? I'm not a proficient programmer at all, but now and then I like to code useless projects.
@sentdex
@sentdex 5 лет назад
We will be covering how to package for android. You will create the package and push it to your phone and use it like any other app :) Stay tuned.
@alexeyneborak8203
@alexeyneborak8203 5 лет назад
Thank you so much for what you do ^^
@RK-is3ur
@RK-is3ur 5 лет назад
can you make a application that can transfer gigabytes of data with sockets please!
@sentdex
@sentdex 5 лет назад
We already did that with the sockets tutorial. Done.
@blizrav01
@blizrav01 4 года назад
when i ran mine it said prev is not defined even though i defined it like you
@jatinverma8432
@jatinverma8432 5 лет назад
Is Kivy more convenient than Qt designer?
@damiandanev9271
@damiandanev9271 5 лет назад
Hell no. Kivy is written by a school teacher for girls. Qt is built by a leading company with 20 years of experience.
@sentdex
@sentdex 5 лет назад
If you're trying to make mobile apps, then yes. If you just want desktop apps, I'd probably stick with Qt. As for Damian's comments... I guess the only reply I'd say is he could only hope to be as talented as that "school teacher for girls."
@damiandanev9271
@damiandanev9271 5 лет назад
@@sentdex That was a literal quote from the teacher herself. Even attempting to build something like Kivy alone is applaudable, but lets face it, its nowhere near Qt. If platform/license isn't a factor, then you would be an idiot for going with Kivy.
@taran7954
@taran7954 5 лет назад
@@damiandanev9271 do you think real world people roam around with big screens or just have the time to turn on their pc's for little or useful tasks while being busy, no so you have to port your invention to Android or ios(if you want to) so that it becomes more accessible and useful, kivy stands out in that
@damiandanev9271
@damiandanev9271 5 лет назад
@@taran7954 There is nothing that Qt doesn't do better than Kivy, including mobile and tablets. If you are serious entrepreneur/programmer you would be horrified by the Kivy API compared to Qt. I don't know why anyone would think that a small project can compete with an industry leader. Its always good to have attempts like Kivy, but when its time to choose...
@anikatabassum6512
@anikatabassum6512 5 лет назад
can anyone explain what is the purpose of using 'instances' in join_button(self, instances)?
@perinoveriza1658
@perinoveriza1658 5 лет назад
brother sendex thanks so much
@sentdex
@sentdex 5 лет назад
Happy to share!
@RREDesigns
@RREDesigns 5 лет назад
How do you do that f for str formatting? :/
@matthewmccarthy8410
@matthewmccarthy8410 4 года назад
I get to the part where I write "print(f"Attempting to join etc" and it just gives me a blank window when I run it, anything before I start adding a function to the button will display. I am on python v 3.7.6, Help pls
@benvoisey3942
@benvoisey3942 4 года назад
Bleachy link of code?
@matthewmccarthy8410
@matthewmccarthy8410 4 года назад
@@benvoisey3942 I fixed it now, Thanks for you help
@sainco3036
@sainco3036 5 лет назад
thanks.
@ishanchoudhary4179
@ishanchoudhary4179 3 года назад
UnboundLocalError: local variable 'd' referenced before assignment Can anyone please help me solve this issue PLEASE PLEASE PLEASE
@inigo8740
@inigo8740 3 года назад
9:35 he had the same error Don't blindly copy the code he writes.
@mk-ep7yk
@mk-ep7yk 5 лет назад
kivy code how do i do apk
@nishuz
@nishuz 5 лет назад
Can you do an AI tutorial next?
@sentdex
@sentdex 5 лет назад
Have lots of AI tutorials already :O . No idea what my next series will be.
@Morenus64
@Morenus64 5 лет назад
Ai that use kivi to display some data etc
@atrumluminarium
@atrumluminarium 5 лет назад
@@sentdex I think he means AI + Kivy not entirely sure tho
@inigo8740
@inigo8740 3 года назад
To know if a file exists, you don't need os, you need try-except. Remember, it's easier to asked for forgiveness than permission.
@apeirostudio2993
@apeirostudio2993 5 лет назад
Continue Sir, You are the best! I am going to be a computer engineer/science student. What is the best language for me?
@sentdex
@sentdex 5 лет назад
Programming :P Language doesn't really matter much, you build the same stuff in the same way with programming languages. I personally like python for simplicity and rapid development, but obviously I am biased :P
@thelowendstudio
@thelowendstudio 5 лет назад
*This message was deleted*
@sentdex
@sentdex 5 лет назад
What I do there? :o
@thecommonman7341
@thecommonman7341 4 года назад
I am beginner...after button u totally lost my bro
@burialstance
@burialstance 4 года назад
Dude it’s bullshit, you insert empty label just for move you button wtf
@burialstance
@burialstance 4 года назад
From Russia it’s like as говнокод, говно as shit and код as code говнокод
@sentdex
@sentdex 4 года назад
Must suck to be so mad all the time
@rayantovi
@rayantovi 5 лет назад
First
@sentdex
@sentdex 5 лет назад
An incredible feat.
@rayantovi
@rayantovi 5 лет назад
@@sentdex An incredible tutorial.
Далее
Одинокая сестра
00:14
Просмотров 17 тыс.
I coded one project EVERY WEEK for a YEAR
13:13
Просмотров 681 тыс.
I built my own 16-Bit CPU in Excel
15:45
Просмотров 1,5 млн
Kivy Basics in 60 MINUTES
59:02
Просмотров 130 тыс.
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 722 тыс.
Top 18 Most Useful Python Modules
10:50
Просмотров 932 тыс.
Android App Development in Python With Kivy
26:27
Просмотров 289 тыс.