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! ;)
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).
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.
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.
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 = "" ...
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?
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.
@@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.
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.
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?
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.
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."
@@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.
@@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
@@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...
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
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