▶️ 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
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]))
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.
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"), )
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.
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.
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?
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.
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
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
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.