Тёмный
No video :(

Python Kivy GUI Example & Source Code 

Tech With Tim
Подписаться 1,6 млн
Просмотров 187 тыс.
50% 1

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

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 202   
@maryllcastelino
@maryllcastelino 3 года назад
Legend has it that he is still figuring out how to package it for Android.
@madhubathula4811
@madhubathula4811 3 года назад
yeah i was waiting for his tutorial continuation from 1 year 🤣🤣🤣lol
@div_100
@div_100 3 года назад
@@madhubathula4811 two years*
@DyslexicFucker
@DyslexicFucker 3 года назад
Legend has it that he is still figuring out how to package it for Android.
@mlndz111
@mlndz111 2 года назад
two years and a half already
@alibyh4295
@alibyh4295 2 года назад
Three years here
@fredflintstone8048
@fredflintstone8048 11 месяцев назад
I'm new to Python and Kivy. I come from a background of C, C++, C#, and a few other languages. Enjoyed this project. I looked at the code on the webpage and then hand typed it in. Took me less than an hour. Of course I'm the king of typos, and missing things, losing my place, etc. so it also got me used to learning to read the error codes in the output and track down the problems also causing me to have to read the code and understand what's actually being done. It's all good. Took about an hour to debug all my mistakes, but it was great experience for me. My mistakes have always been a long term learning tool in learning languages. I did go through all the tutorials leading up to this project. I appreciated them. Thanks for sharing.
@fredflintstone8048
@fredflintstone8048 11 месяцев назад
Tim, thanks for creating and sharing the Kivy tutorial. It's been a great help for me.
@KurKestutis
@KurKestutis 5 лет назад
Thank you very much Tim! Could you show us how to convert this app to apk for android?
@shujin7024
@shujin7024 3 года назад
yup the exact question I've been working on welp. If you are on windows the better way is throught a Ubuntu virtual machine I'm using Oracle VM virtualbox, then you set-up kivy and all your stuff there you can then install buildozer. Once all that is set-up navigate to your app directory using the terminal than simply, buildozer init (this creates a configuration file) then buildozer -v android debug, to build a debug version it will appear in the bin folder in your app directory once done. You may have to patch a bunch of problem along the way this is how it is but this technique will yield you a .apk. I came back to this channel because sometimes my .apk doesn't work and closes on opening but I haven't figured out why yet so I'm wondering if there is protocol to follow as to where I put the code inside the main.py document or maybe it's the shitty way I code with lot's of global variable. Anyway hope this helps have a great day and Merry Christmas 20202
@HostDotPromo
@HostDotPromo 5 лет назад
As much as I love the command line, a nice GUI is always awesome.
@samz794
@samz794 5 месяцев назад
Thank You Tim for making excellent tutorial.
@abrahamyehoshuafrias3390
@abrahamyehoshuafrias3390 5 лет назад
Amazing vid. Could you make a tutorial explaining how to change the gui colors, images, etc... And take your time of creating an android app.
@gamersworld7308
@gamersworld7308 4 года назад
YEAH
@aldiafrizarman776
@aldiafrizarman776 3 года назад
u need to try kivyMD
@fitjourney225
@fitjourney225 5 лет назад
Can you upload a video where you show how to allow the users upload files such as images, videos, pdf...? Love your videos tho and the way you explain, continue
@tembyyizreel9239
@tembyyizreel9239 4 года назад
Thank you so much for helpful videos 🙏. I have learnt a lot from you, please continue showing us more😇
@katelyn7359
@katelyn7359 3 года назад
Yes hOney YEs i agree! 😇
@tembyyizreel9239
@tembyyizreel9239 3 года назад
@@katelyn7359 😇
@217-sritejrajulu6
@217-sritejrajulu6 5 лет назад
i love your videos bro, u are just lovely at your explaination
@TechWithTim
@TechWithTim 5 лет назад
Thanks!
@anythingbutcash
@anythingbutcash 5 лет назад
nice. real nice. amazing how you netted everything out. Good job.
@AchmadFahrurroziMaskur
@AchmadFahrurroziMaskur 3 года назад
if you are using .split(';') make sure to validate the char is not inputted by user otherwise it will throw an error you can validate user input only alphanum allowed maybe
@chiranthnandi245
@chiranthnandi245 4 года назад
That was great, Tim! Could you please show us how to convert this app to Android [APK] or at least iOS as you already know that? Thanks a Ton!!
@dantesparda7777
@dantesparda7777 4 года назад
By far the best Kivy Turorials.. Thnx man
@Machiuka
@Machiuka 8 месяцев назад
Awesome tutorial, thank you for your efforts Tim.
@user-xz7de3ot2m
@user-xz7de3ot2m 2 года назад
分かりやすかったです。
@samssams1064
@samssams1064 3 года назад
Excellent videos dude, you are have madede very understandable tutorials, you have been followd you have your public, keep good work :)
@deathstarhz3426
@deathstarhz3426 3 года назад
Epic video Tim! Could you please make a video showing how to package this as an exe for windows?
@ishikaagrawal8033
@ishikaagrawal8033 4 года назад
Can someone help? I'm getting the error: TypeError: cannot unpack non-iterable int object. For line: password, name, created = db.get_user(self.current)
@paulrowland4857
@paulrowland4857 5 лет назад
Good job, thanks for the hard work!
@ivandiazdeleon9368
@ivandiazdeleon9368 5 лет назад
keep it going Tim!!! Please!!!!
@Kirchert919
@Kirchert919 4 года назад
why return sm(window manager) ? class MyMainApp(App): def build(self): return sm
@koustavpramanik6405
@koustavpramanik6405 5 лет назад
nice ...please continue it...
@ramtinaminian5093
@ramtinaminian5093 5 лет назад
Thank you so much Tim for your helpful videos. But could you show us how to convert this app to apk for android? Because the only reason I am learning Kivy is to make android apk.
@shujin7024
@shujin7024 3 года назад
Buildozer on a Ubuntu virtual machine, I described it in other comments on this video look it up good luck with your project friend and Merry Christmas 2020 :)
@MrEloska
@MrEloska 5 лет назад
Helloo.. Could you show how to "convert" this app to apk for android? I've tried many times but I'm having a lot of errors all the time :/
@taran7954
@taran7954 5 лет назад
MrEloska go through sentdex's video
@illmatic33
@illmatic33 5 лет назад
Did you figure it out and can you share please?
@MrEloska
@MrEloska 5 лет назад
@@illmatic33 Yes, I did it...
@MrEloska
@MrEloska 5 лет назад
After following sentdex tutorial I had some bugs.. I did `apt install libtinfo libncurses5 lld` Then everything was ok.
@ahmedbadal3795
@ahmedbadal3795 5 лет назад
i wish i can create my last year project ..student attendance managment system ..
@nontsikelelomamba8995
@nontsikelelomamba8995 5 лет назад
im doing the same, struggling with GUI please help Holla
@neurlyai401
@neurlyai401 4 года назад
@@nontsikelelomamba8995 holla me if you interested. opening up a project on github
@danielwills2366
@danielwills2366 3 года назад
@@neurlyai401 i am interested. i am looking to do soemthing simmilar. just not for students
@rohithrv6830
@rohithrv6830 2 года назад
I am Getting this error AttributeError: 'NoneType' object has no attribute 'text'
@ytskenazi
@ytskenazi 4 года назад
Hi , very good teacher, good work ,
@dinekum23
@dinekum23 3 года назад
Great tutorial on kivy...Thank you so much! Only thing is missing is 'how to convert the kivy app to apk for android' Please just show us how to do it....thanks!
@marianpascu8474
@marianpascu8474 3 года назад
Hi, I want to learn about that DataBase module, where can I find it?
@madhubathula4811
@madhubathula4811 3 года назад
bro check freecodecamp it has some tutorials on database
@tuckbloor
@tuckbloor 5 лет назад
on this today, having an issue with packaging, docs say "Note Currently, packages for iOS can only be generated with Python 2.7. Python 3.3+ support is on the way."
@giomjava
@giomjava 5 лет назад
Nice tutorials! How does one transfer this to the Android phone??
@vedantraghuwanshi555
@vedantraghuwanshi555 4 года назад
You can use packages like buildozer to compile existing files and create a stand-alone executable for widows/android/macOS
@mamartyacse1
@mamartyacse1 4 года назад
You can also use kivy launcher in android and directly run main.py project in Android phone.... No apk building is required in this case.
@Kirchert919
@Kirchert919 4 года назад
hey, guys. i recommend this for storing data and loading data, it saves the dict as a string and converts the string back to a dict: import ast def save_data_local(): # saving the data locally in a text file. print("saving data locally") with open("data.txt", "w") as file: file.write(str(dict)) def load_data_local(): with open("data.txt", "r") as file: for line in file: # there should only be one line anyway lol. data = ast.literal_eval(line) print(data)
@richardlugier3659
@richardlugier3659 4 года назад
Very interesting. Good job
@AlexSage
@AlexSage 5 лет назад
Great tuts man!!!
@varsketisLT
@varsketisLT 2 года назад
Hey! Thanks for the tutorial. I just have one question. How did you figure out the scalable font? Did you just experiment with different numbers?
@hosseinghanaati728
@hosseinghanaati728 4 года назад
I never thought one day I might hate a GUI technology more than HTML well I guess well-done kivy. you did it. no wonder why no one mentions this for mobile development. I don't get it why this is popular among python programmers. I mean come on both pyqt5 and tkinter are more legit than this. unless you really wanna build something for smartphones which I guess there are no other options for python developers in which case I think you are better of learning react-native and someone actually might hire you for that at least. ....................................................................................................................................... tnx, any way Tim nice content bro.
@GiuseppeGiu96
@GiuseppeGiu96 5 лет назад
can you explain how create an online game using kivy?
@james.1993
@james.1993 2 года назад
Sir Tim, I would like to know if have you ever develop a mobile app via kivy/ kivymd with mysql database? What procedure you might recommend to develop a mobile app?
@mariuszmilewski2084
@mariuszmilewski2084 5 месяцев назад
nice tutorial, but I have a question, how can I add an additional widget (label...) from the python file
@gowthamc1576
@gowthamc1576 3 года назад
Waiting for the next video ❤️
@devenderkamboj6588
@devenderkamboj6588 5 лет назад
can you make video pos size and size_hint and more about it please i am confusing to use this
@qandeelwahab8809
@qandeelwahab8809 5 лет назад
how to set background of any form layout like login page as image?
@codycheng
@codycheng 5 лет назад
How do you run the file on your phone?
@steven-fq1lv
@steven-fq1lv 5 лет назад
its easy just download a python ide i will suggest pydroid 3 and install kivy module in it through pip
@sanjayrajasreeraja3456
@sanjayrajasreeraja3456 4 года назад
Please make a video on the thing u said last in this video
@alexandraboon-dooley3682
@alexandraboon-dooley3682 4 года назад
Hi Tim! Why don't the window classes in main.py (e.g. CreateAccountWindow) have constructors? Thanks in advance
@tanmayhire3092
@tanmayhire3092 4 года назад
Please release the next tutorial...
@nooraanoop8454
@nooraanoop8454 2 года назад
Make a video about converting kivy python to .deb for Linux please do a tutorial please
@mihirbhudia4064
@mihirbhudia4064 4 года назад
How would you be able to add a network functionality using Kivy? By this, I mean something like storing and retrieving the usernames and passwords over a network. If anyone knows I would appreciate the help :)
@katelyn7359
@katelyn7359 3 года назад
OOO OO OOOOO very excited to be Equipped
@coop4476
@coop4476 4 года назад
No privacy issue in saving all user names and passwords in a local text file 👍
@TechWithTim
@TechWithTim 4 года назад
You may not have understood the point of the video...
@coop4476
@coop4476 4 года назад
@@TechWithTim Nah, I'm just messing with you lol
@shinstorm3473
@shinstorm3473 5 лет назад
Greats vids thanks. Still haven't got kivy working for me yet. Do you think it could be my version of python. I was using 3.7 but I notice that even matplotlib wasn't supported with that version yet. So I went back to 3.6 thing is matplotlib works now but kivy is still not. Do you think I may have to go back to even 3.5. Other than that I can't think of anything else. I followed your steps precisely a few times. What do you think. Anyhow just about to listen to the second episode of your podcast. Been looking forward. Thanks. Cheers
@TechWithTim
@TechWithTim 5 лет назад
Hey I’m sorry it’s not working, I can’t think of why it would fail if you followed the steps in the first video. Anyways thanks for the feedback !
@shinstorm3473
@shinstorm3473 5 лет назад
No problem I still followed along and took notes. I'm gonna give it a couple days, and come back to it fresh. What are you planning for the next tutorial? If you don't mind me asking
@nikanorsakaria1704
@nikanorsakaria1704 3 года назад
Wow this was incredible ,,, Would you please create an android or desktop app ,one page with text in it ,another with picture and a functional dial button using python in anaconda , Im struggling with it
@aaditt8120
@aaditt8120 5 лет назад
NEED SOME MOREEEEEEEEEEEEEEE
@comichantv7279
@comichantv7279 3 года назад
nice series! but waiting for it to be used in adroid..
@waseemahmed1446
@waseemahmed1446 3 года назад
Awesome!!
@m.elnwishy
@m.elnwishy 2 года назад
thanks so much for this tutorial i'm looking to make simple app but i saw before some apps working by just small icon stack in left screen and when you pree icon open list , like master cleaner app may you tell us how we do that icon
@heddaolsen4097
@heddaolsen4097 2 года назад
Can you make a tutorial of how to make a mobile app with django rest API + kivy?
@amateurastronomer
@amateurastronomer 4 года назад
Hey Tim, Can you please give video tutorial on "How to create APK file in pycharm on windows?" Thank you
@shujin7024
@shujin7024 3 года назад
creating .apk file on windows doesn't seem possible tho at least that's the impression I get after my research and setting up my buildozer environment. You gotta use a Ubuntu Virtual Machine, I know sounds scary... I described it in the post higher up in the comment section if you are interested by doing it yourself without too many videos. There surely is a video on that somewhere thought. Merry Christmas 2020 hope this helps :)
@amateurastronomer
@amateurastronomer 3 года назад
@@shujin7024 thank you man for your reply, it was long back for my project. I did it using buildozer and Ubuntu. 🤶
@Yendor.
@Yendor. 5 лет назад
am i the only one getting this error? ModuleNotFoundError: No module named 'database'
@TechWithTim
@TechWithTim 5 лет назад
did you download all the files? I believe I used two modules for this project (both ones I wrote). So you'll need the database.py file for it to work.
@Yendor.
@Yendor. 5 лет назад
@@TechWithTim i figured out the problem.
@saurabhkharche9553
@saurabhkharche9553 3 года назад
which is main window in output screen?
@florjangashi3678
@florjangashi3678 3 года назад
If I wanted to add a quit button, how would I go about doing this
@tirumalaguddanti3350
@tirumalaguddanti3350 4 года назад
Can anyone tell me how to install database package using command prompt.
@shujin7024
@shujin7024 3 года назад
pip install database ?
@nitishkhanna9368
@nitishkhanna9368 4 года назад
Why have you used two Floatlayouts? And why 'cols' in floatlayout?
@abhinannuri1326
@abhinannuri1326 4 года назад
ERROR From database import DataBase Not working Can you please make a video about installation, creating, using a database..
@karnailchoudhary2493
@karnailchoudhary2493 4 года назад
pip install databases
@isna143
@isna143 2 года назад
Hello, this was great. Can we create a calendar with kivy python?
@sajithmadusanka5951
@sajithmadusanka5951 5 лет назад
Keep it up
@cortex6065
@cortex6065 5 лет назад
So when is the video on how to package programs for ios coming out?
@bleach6792
@bleach6792 5 лет назад
Hi Tim! I have a request to make! Can you please do a tutorial on how to actually package an apk file in kivy through Windows. I've really followed your tutorials this far and I've even done a school project on this, but I'm stuck for days now at actually packaging the app as all methods are for Linux OS and not Windows. So can you please make a tutorial on that. Thank you so much man, I would really appreciate if you could do it.
@TechWithTim
@TechWithTim 5 лет назад
Hey ya I’ve been working on that and it’s very difficult to do... I’ll keep trying but I haven’t had any Success yet
@bleach6792
@bleach6792 5 лет назад
@@TechWithTim yes I did try that so much without any success. Anyway thanks so much, keep doing these tutorials on Python, you're great at teaching them than many other I've seen so far.
@Itroz
@Itroz 3 года назад
Thanks
@aaronnagel692
@aaronnagel692 4 года назад
Hi Tim, is there a reason for the second if statement in method? Is there a difference to add the
@djimmyven9872
@djimmyven9872 4 года назад
Hi tim ! Can you please make a video about how to deploy the app to Android / ios !!
@atharvasaney3376
@atharvasaney3376 3 года назад
how do i do this: 1. user will type some input (can be anything for eg username) 2. after clicking submit, the username will be printed on the kivy app itself, inside another box please help
@bearOdear
@bearOdear 2 года назад
hey..i am running the same code u mentioned below the screen, but everytime i am running it, output says no file or directory named users.txt what should i do?
@ItsShifShif
@ItsShifShif 4 года назад
Hi, I was working on something that is similar to your MainWindow and was wondering how does the window call the function on_enter? I seem to have trouble getting the information on screen
@ernestodelacruz861
@ernestodelacruz861 2 года назад
did you figure out how that works. I just don't get how the on_enter() method is called. his code works fine but i don't know how and when the on_enter() method is executed. please help me understand if you've figured it out. Thank you
@PixelInfos
@PixelInfos 4 года назад
Pls make a video about how to get android permission in kivy. And i have tried convert to apk bt it's not working a python module.. pls make this
@shujin7024
@shujin7024 3 года назад
to build your .apk you'll need a Linux machine I described the process of using a Linux virtual machine under windows on other comments on this video. Hopes this helps cheers. Merry Christmas
@devenderkamboj6588
@devenderkamboj6588 5 лет назад
Please make more videos
@rohitsonawane4592
@rohitsonawane4592 4 года назад
How to integrate turtle graphics in Kivi App.?? Please reply me....
@aatutahkola7005
@aatutahkola7005 3 года назад
I can't understand why the kv file is loaded and stored in the kv variable if the kv variable won't be used anywhere. Then the program magically finds all the stuff written in the kv file. What role does the Builder have in this program.
@aatutahkola7005
@aatutahkola7005 3 года назад
Someone please help
@Jorddz
@Jorddz 3 года назад
how do you save data to a text file and use it with a kivy login window?
@dheerajkashyap7607
@dheerajkashyap7607 4 года назад
Tim please make a video of how can I deploy this app for iOS only for now if you couldn’t figure out how to do it for android
@talhahabib5427
@talhahabib5427 4 года назад
Hi i would really appreciate if you make a series of tutorials on android app development with python there is no course like that on youtube
@kavaliakash5595
@kavaliakash5595 4 года назад
please help that I have a problem in this which is that " ModuleNotFoundError: No module named 'database' " shows in pycharam.
@jakamsoohia7492
@jakamsoohia7492 3 года назад
Why don't you use self.ids?
@mp3311
@mp3311 4 года назад
Hello! Can you make a tutorial on how to create a login application with session?
@pysuhayb15
@pysuhayb15 5 лет назад
More videos please
@iantfulton
@iantfulton 4 года назад
Hi. Are you going to put up a video of how to package the app for ios or android?
@techme_blog
@techme_blog 4 года назад
Hey, Tim. I am having some troubles packaging for iOS. Are the videos for doing that are available yet? Thank you
@bojantanasic221
@bojantanasic221 4 года назад
Great video. I'm very new to coding and was wondering if it was possible to create a png for my windows instead pf using the standard windows window?
@guardkaiser9344
@guardkaiser9344 3 года назад
Can you please make a guide on how to develope and package android apps ?
@jordongonzales
@jordongonzales 4 года назад
Running your code from your own files - i get an error that the .txt file does not exist. All four files are in the same exact folder. Not sure what the deal is...
@barunbasnet
@barunbasnet 3 года назад
How to compile this code for Android?
@sangramsinha2255
@sangramsinha2255 3 года назад
I am getting an error while running this code. password, name, created = db.get_user(self.current) TypeError: cannot unpack non-iterable int object @Tech with Tim please advise
@daaakkooor810
@daaakkooor810 4 года назад
I'm try to add a other Screen and I have a Error callback : the screen doesn't exist
@mohammedjunaid396
@mohammedjunaid396 5 лет назад
Thanks buddy.....
@Haydog2K
@Haydog2K 2 года назад
hello, can someone please help me why am I getting a too many values to unpack (expected 3) error? As I am used this video to create my own different app. This is my code where the error is happening: def load(self): self.file = open(self.filename, "r") self.records = {} for line in self.file: line = line.strip() date, time, created = line.split(";") self.records[date] = (date, time, created) self.file.close() Thanks
@abivilion8559
@abivilion8559 3 года назад
AttributeError: 'TextInput' object has no attribute 'strip' HELP PLEASE
@christopherbousquet-jette117
@christopherbousquet-jette117 2 года назад
So how we get a android app with python ??
@jeremjoshua4866
@jeremjoshua4866 5 лет назад
how do i deal with the 'no window created when trying to load file
@zii1409
@zii1409 5 лет назад
When i try install kivy i typed "python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew" than i get this error "Could not find a version that satisfies the requirement kivy.deps.sdl2 (from versions: ) No matching distribution found for kivy.deps.sdl2" Please can you help me?
Далее
Simple Flower Syrup @SpicyMoustache
00:32
Просмотров 2,3 млн
“Bernabéu… pressure… 90,000” 🔥🔥🔥
01:02
How To Practice Programming So You Actually Get Good
15:46
Kivy Basics in 60 MINUTES
59:02
Просмотров 129 тыс.
Modern Graphical User Interfaces in Python
11:12
Просмотров 1,5 млн
kivy variables between classes or screens
8:45
Просмотров 4,4 тыс.
Build a Python Website in 15 Minutes With Streamlit
18:37
10 Useful Python Modules You NEED to Know
11:01
Просмотров 34 тыс.