Mobile App with KivyMD - Python GUI for Android - Binary to Decimal Converter

Python Simplified
Python Simplified
85.2 هزار بار بازدید - 3 سال پیش - In this step by step
In this step by step tutorial, we will create a Binary to Decimal / Decimal to Binary converter app - with the help of Python and KivyMD 🥝🥝🥝
This tutorial is a bit more advanced than the rest as it involves classes, but don't worry - I will post a tutorial about classes shortly! so if there's anything you didn't understand, you'll get a proper detailed and simplified explanation very soon  😉

🥝 Part 2 - Fraction Conversion & Exceptions Tutorial 🥝:
Expand KivyMD GUI App - Convert Binar...

🥝 PART 3 - Convert Python App to Android .apk 🥝
Convert Python to Android with WINDOW...

You also might find these tutorials helpful:

My Binary to Decimal Math Tutorial:
Binary to Decimal - Convert Numbers a...

My Python Classes & Objects Tutorial:
Python Classes and Objects - OOP for ...

⭐ time stamps: ⭐
*******************************************
00:00 - intro
00:38 - MD toolbar Widget
00:23 - Icon button for MD toolbar
03:47 - View the full list of icons
04:18 - Image Widget
05:25 - Text Input Widget (MD Text Field)
07:21 - MD Label Widget
09:15 - MD Button with ROUNDED CORNERS
10:29 - Convert Binary to Decimal
13:43 - Conversion Flip and State
16:20 - Convert Decimal to Binary
18:38 - Change KivyMD Theme
20:21 - What's left to do?
21:37 - Thanks for watching! 😀

PLEASE NOTE:
Both flip() and convert() can be done in fewer lines of code!
Check out the complete app on Github (link below) to see the shorter version

⭐ starter code: ⭐
*******************************************
from kivymd.uix.screen import MDScreen
from kivymd.app import MDApp
from kivy.uix.image import Image
from kivymd.uix.button import MDFillRoundFlatIconButton, MDFillRoundFlatButton
from kivymd.uix.textfield import MDTextField
from kivymd.uix.label import MDLabel
from kivymd.uix.toolbar import MDToolbar

class ConverterApp(MDApp):
   def build(self):
       screen = MDScreen()
       #UI Widgets go here
       return screen

if _name_ == '__main__':
   ConverterApp().run()
*******************************************

Github Repository:
https://github.com/MariyaSha/Binaryto...

All available KivyMD icons:
https://kivymd.readthedocs.io/en/late...

Thank you so much for watching! 🤩

Beautiful Kiwis in the background are from:
freepik.com
3 سال پیش در تاریخ 1400/04/21 منتشر شده است.
85,288 بـار بازدید شده
... بیشتر