Тёмный
No video :(

KivyMD Date Picker - Python Kivy GUI Tutorial #51 

Codemy.com
Подписаться 233 тыс.
Просмотров 17 тыс.
50% 1

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

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@Codemycom
@Codemycom 3 года назад
▶️ Watch Entire Kivy Playlist ✅ Subscribe To My RU-vid Channel: bit.ly/37LrJ27 bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN ▶️ Get The Code bit.ly/3ipaNU7
@kiriekonami3097
@kiriekonami3097 3 года назад
That date range will really be useful. Thanks a lot! :)
@johannes-euquerofalaralema4374
@johannes-euquerofalaralema4374 2 года назад
After watching and trying for about 30 hours in the last 3 days, I am almost through your whole kivy course. Really awesome work! Thanks again! If anyone needs to print out the time difference in days (useful in a lot of cases): def on_save(self, instance, value, date_range): self.root.ids.date_label.text = re.sub(r',\s*[0:]+\s*', '', str(date_range[-1] - date_range[0]))
@Codemycom
@Codemycom 2 года назад
Glad you're enjoying it!
@vinaypoul
@vinaypoul 3 года назад
Love your teaching
@Codemycom
@Codemycom 3 года назад
Thanks!
@b391i
@b391i 3 года назад
Awesome as usual 🤠👍
@Codemycom
@Codemycom 3 года назад
Thanks again!
@Ad7siem
@Ad7siem 2 года назад
Hello! when typing 'from kivymd.uix.pickers import MDDatePicker" I had an error ' from kivymd.uix.picker import MDDatePicker ModuleNotFoundError: No module named 'kivymd.uix.picker''. In the kivymd folder I looked for the picker folder and it turned out that now there are pickers. That is why I changed to 'kivymd.uix.pickers ' and there is no error.
@yuong8139
@yuong8139 Год назад
Thank you for the advice!!
@huynhan7979
@huynhan7979 2 года назад
Very cool, thanks so much
@Codemycom
@Codemycom 2 года назад
Very welcome
@tanishgambhir6679
@tanishgambhir6679 3 года назад
Bro awesome, this one is awesome I would say bro.
@Codemycom
@Codemycom 3 года назад
Thanks!
@elvy842
@elvy842 2 года назад
Hi John, how do I change the background colour of the datepicker? The following isn't working: MDDatePicker( primary_color=get_color_from_hex("#72225b"), accent_color=get_color_from_hex("#5d1a4a"), )
@heddaolsen4097
@heddaolsen4097 2 года назад
when I try to run my datepicker, I just get an error. It says: def get_time(self) -> list[str, str]: TypeError: 'type' object is not subscriptable How can I solve this? I have exact the same code as you, but still get this error. Hope you answer fast.
@mikeconti1164
@mikeconti1164 Год назад
If you are using a newer version of kivyMD when you import the MDDatePicker picker has to be pickers - from kivymd.uix.pickers import MDDatePicker
@jubiluleu8647
@jubiluleu8647 3 года назад
Hey, I need your help. I have a RecycleView, which has as viewclass a OneLineListButton. I add the buttons, but when I roll the mouse over the list, it ends up clicking on the buttons by activating the on_press and on_release. How do I deactivated that? I just want him to roll normally. I use RecycleView because I carry a lot of buttonin the list.
@Konnits
@Konnits 3 года назад
Hi. I want to make a rectangle with some things, text, a number and a buttom that can increse or decrese that number. But the amount of this rectangles can change, be cause i want to create it that with the elements of a data set. So i need to define a function that take the data and create this list of rectangles. But i dont know how to define this function. Can anyone help me?
@shreyaspatange8606
@shreyaspatange8606 3 года назад
Please make a video on how to convert Python to apk in Windows
@Codemycom
@Codemycom 3 года назад
Will do that one of these days
@adityachoudhary4045
@adityachoudhary4045 3 года назад
Please create also a clock in kivymd
@Codemycom
@Codemycom 3 года назад
Yeah that's next
@adityachoudhary4045
@adityachoudhary4045 3 года назад
@@Codemycom Oh thanks a lot❤️❤️
@salvatoregar5832
@salvatoregar5832 2 года назад
I'm trying to change the format of the date in: "day, month, year", i imported datetime, but it doesn't work, I should write (i can't make wortks it).
@Codemycom
@Codemycom 2 года назад
what do you mean datetime doesn't work.
@salvatoregar5832
@salvatoregar5832 2 года назад
I got the solution: def on_save(self, instance, value, range): date_value = datetime.datetime.strptime(str(value), "%Y-%m-%d") date_value_eu = date_value.strftime("%d.%m.%Y") self.root.ids.my_label.text = f' Data selezionata: {date_value_eu}' In kv file, i wrote in the label: halign: 'center' and i use so it stay on center, but i don't understand why center_x 0.5 doesnt't work.
@Blissfullybyaswini2804
@Blissfullybyaswini2804 2 года назад
Am a beginner in kivy ,is it possible to add margin and padding to each widget ?
@SquidSnipes
@SquidSnipes Год назад
you can use pos_hint or pos. pos_hint let's you position them in percentage like 50% = .5 , .5 and pos works like padding so an offset of .5 like in pos_hint would be root.x/2 , root.y/2 in pos
@shreydarji8376
@shreydarji8376 2 года назад
I'm using vs code and whenever i try to make a .kv file it doesn't register as a python file
@Codemycom
@Codemycom 2 года назад
1. Don't use vs code. 2. a kv file is a kv file, it's not a python file.
@advays9815
@advays9815 3 года назад
I am getting this error everytime I run the code: ImportError: cannot import name 'MDDatePicker' from partially initialized module 'kivymd.uix.picker' (most likely due to a circular import). Can someone please help? This error arises with the code at 3:38
@nirzortalukder6832
@nirzortalukder6832 2 года назад
try '.pickers' instead of '.picker' in the 3rd line
@rasmusa9212
@rasmusa9212 3 года назад
Hello, thanks a lot for your video! What is recommendation as for how to learn to code? I tend to watch your video and type in my IDE whatever you type but later I want to redo it from memory I barely remember anything, this makes me feel like the worst programmer ever.
@Codemycom
@Codemycom 3 года назад
Go back and rewatch the videos until you memorize the things. Make your own projects, experience is everything...eventually it will click. :-)
@indikaamarasooriya2934
@indikaamarasooriya2934 3 года назад
How to make search bar for sqlite database in kivymd
@Codemycom
@Codemycom 3 года назад
will look into database stuff soonish
@rabugentogamess
@rabugentogamess 2 года назад
What should I do if I followed all the steps in your video and still cannot print the picked date?
@Codemycom
@Codemycom 2 года назад
Start over and rewatch the video, because you clearly did not follow all the steps.
@Khelso
@Khelso 2 года назад
Copy the code from the pinned comment and compare the two
@vinaypoul
@vinaypoul 3 года назад
😍😍😍😍😍
@Codemycom
@Codemycom 3 года назад
:-)
@darshanbothra2673
@darshanbothra2673 3 года назад
hey, john can you make c++ and c++ gui tutorials
@Codemycom
@Codemycom 3 года назад
Might do that some day
@darshanbothra2673
@darshanbothra2673 3 года назад
@@Codemycom K, Thanks :)
@JamiatUlmaPakistan
@JamiatUlmaPakistan 3 года назад
👍
@Codemycom
@Codemycom 3 года назад
:-)
@vinaypoul
@vinaypoul 3 года назад
🥰🥰🥰🥰🥰
@Codemycom
@Codemycom 3 года назад
:-)
@jensen_9393
@jensen_9393 3 года назад
$27 is not cheap lol
@Codemycom
@Codemycom 3 года назад
for 47 courses? Lol yes it is.
@Codemycom
@Codemycom 3 года назад
@@TrFusion Good point
@mrsmellyboy1
@mrsmellyboy1 Год назад
kivymd.uix.picker changed to kivymd.uix.pickers at least only worked like this for me
Далее
KivyMD Time Picker - Python Kivy GUI Tutorial #52
9:15
skibidi toilet multiverse 041
06:01
Просмотров 2,8 млн
Modern Python logging
21:32
Просмотров 178 тыс.
Tmux has forever changed the way I write code.
13:30
Просмотров 967 тыс.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
7 Essential Command Line Tools (2022)
9:12
Просмотров 208 тыс.
Simple Python App with Kivy - Step by Step GUI Tutorial
13:11