title
Kivy with Python tutorial for Mobile Application Development Part 1

description
Welcome to the introduction to Kivy basics tutorial video. In this tutorial, we cover what Kivy is (cross-platform software development kit, which supports iOS, Android, Windows, Linux, and Mac). http://kivy.org/#home http://www.lfd.uci.edu/~gohlke/pythonlibs/ sample code: http://pythonprogramming.net http://seaofbtc.com http://sentdex.com http://hkinsley.com https://twitter.com/sentdex Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6

detail
{'title': 'Kivy with Python tutorial for Mobile Application Development Part 1', 'heatmap': [{'end': 155.746, 'start': 143.016, 'weight': 0.754}, {'end': 265.453, 'start': 229.415, 'weight': 0.711}, {'end': 407.114, 'start': 375.262, 'weight': 0.785}, {'end': 899.538, 'start': 864.608, 'weight': 0.782}], 'summary': 'Learn kivy basics, package installation, and creating kiwi app class in this tutorial. get detailed instructions for installing pygame and kivy packages on linux and windows. explore importing kiwi, creating the first app class, and building kivy applications with cross-platform capabilities for major operating systems like android, ios, windows, linux, and macos.', 'chapters': [{'end': 367.101, 'segs': [{'end': 57.433, 'src': 'embed', 'start': 23.297, 'weight': 0, 'content': [{'end': 26.019, 'text': "And whenever you go there, you'll just be sent to this hashtag, home.", 'start': 23.297, 'duration': 2.722}, {'end': 32.162, 'text': 'So Kiwi is just a cross-platform software development kit.', 'start': 26.619, 'duration': 5.543}, {'end': 33.463, 'text': 'So you can think of it.', 'start': 32.222, 'duration': 1.241}, {'end': 38.405, 'text': "it's just a GUI, some way to make GUIs with Python, kind of like Tkinter.", 'start': 33.463, 'duration': 4.942}, {'end': 41.927, 'text': "only the kicker with Kiwi is that it's cross-platform.", 'start': 38.405, 'duration': 3.522}, {'end': 49.17, 'text': "And, of course, being cross-platform to Linux, macOS and Windows isn't too phenomenal.", 'start': 41.987, 'duration': 7.183}, {'end': 57.433, 'text': 'obviously you can do that with Tkinter, but where this shines is it is cross-platform even into mobile with iOS and Android,', 'start': 49.17, 'duration': 8.263}], 'summary': 'Kiwi is a cross-platform software development kit for guis with python, including ios and android.', 'duration': 34.136, 'max_score': 23.297, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA23297.jpg'}, {'end': 114.875, 'src': 'embed', 'start': 89.521, 'weight': 1, 'content': [{'end': 98.504, 'text': "and also you can connect to say, like the Android API, and you can access the phone's camera, let's say or the gyro or whatever.", 'start': 89.521, 'duration': 8.983}, {'end': 102.386, 'text': "So with that, Kiwi's obviously quite powerful.", 'start': 99.404, 'duration': 2.982}, {'end': 106.91, 'text': "There's a lot of cool stuff that you can do, and it's relatively simplistic to get started.", 'start': 102.406, 'duration': 4.504}, {'end': 114.875, 'text': 'And you can basically use this, and then you can use something like Buildozer, for example, for Android.', 'start': 108.07, 'duration': 6.805}], 'summary': 'Kiwi provides access to android api for camera and gyro, making it powerful and relatively easy to use. buildozer can be used for android deployment.', 'duration': 25.354, 'max_score': 89.521, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA89521.jpg'}, {'end': 170.278, 'src': 'heatmap', 'start': 143.016, 'weight': 0.754, 'content': [{'end': 147.72, 'text': 'If you have pip already installed, you can just say pip install pygame.', 'start': 143.016, 'duration': 4.704}, {'end': 153.624, 'text': "And if you're on Windows, you can do this as well, if you have a 32-bit operating system anyways.", 'start': 148.54, 'duration': 5.084}, {'end': 154.765, 'text': "So I'll hit it.", 'start': 153.985, 'duration': 0.78}, {'end': 155.746, 'text': "I'm using 32-bit Python.", 'start': 154.905, 'duration': 0.841}, {'end': 157.948, 'text': 'Now I hate it.', 'start': 157.267, 'duration': 0.681}, {'end': 161.891, 'text': 'Since I have a 64-bit version of Python, it gets a little angry with me.', 'start': 158.308, 'duration': 3.583}, {'end': 165.794, 'text': "So I have to use a different thing, and I'll show that as well.", 'start': 162.291, 'duration': 3.503}, {'end': 170.278, 'text': 'But anyways, for most people, either sudo apt-get or pip install will work.', 'start': 166.174, 'duration': 4.104}], 'summary': 'Install pygame using pip for 32-bit python; use different method for 64-bit python.', 'duration': 27.262, 'max_score': 143.016, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA143016.jpg'}, {'end': 189.171, 'src': 'embed', 'start': 158.308, 'weight': 4, 'content': [{'end': 161.891, 'text': 'Since I have a 64-bit version of Python, it gets a little angry with me.', 'start': 158.308, 'duration': 3.583}, {'end': 165.794, 'text': "So I have to use a different thing, and I'll show that as well.", 'start': 162.291, 'duration': 3.503}, {'end': 170.278, 'text': 'But anyways, for most people, either sudo apt-get or pip install will work.', 'start': 166.174, 'duration': 4.104}, {'end': 177.364, 'text': 'Also, I have a pip install tutorial video, so if you have any confusion with how to use pip install, check that out.', 'start': 170.738, 'duration': 6.626}, {'end': 182.928, 'text': 'So finally, I will just show the final place you can get it if you are already familiar with pip.', 'start': 177.724, 'duration': 5.204}, {'end': 189.171, 'text': "is you can come to this website here, and he's got all of the Python packages.", 'start': 183.989, 'duration': 5.182}], 'summary': 'Using sudo apt-get or pip install will work for most people.', 'duration': 30.863, 'max_score': 158.308, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA158308.jpg'}, {'end': 265.453, 'src': 'heatmap', 'start': 229.415, 'weight': 0.711, 'content': [{'end': 233.418, 'text': "but anyways, once those are downloaded, you'll go to your downloads page and we'll leave.", 'start': 229.415, 'duration': 4.003}, {'end': 235.679, 'text': "and actually i'm going to close out of this because i'm going to use something different now.", 'start': 233.418, 'duration': 2.261}, {'end': 242.083, 'text': 'but anyways, you can come here, just go to your computer and on downloads you can just hold shift,', 'start': 236.84, 'duration': 5.243}, {'end': 245.864, 'text': "right click and we're going to open the command window there.", 'start': 242.083, 'duration': 3.781}, {'end': 248.545, 'text': 'so it opens up a command window into that directory.', 'start': 245.864, 'duration': 2.681}, {'end': 253.748, 'text': "so then for me, I could do something like this pip install, and I already forgot what they're calling them.", 'start': 248.545, 'duration': 5.203}, {'end': 255.468, 'text': 'so at least it starts with pygame.', 'start': 253.748, 'duration': 1.72}, {'end': 260.31, 'text': "so pip, install pygame and I'll hit tab and that's the full wheel.", 'start': 255.468, 'duration': 4.842}, {'end': 265.453, 'text': 'so now I could hit enter and this will install based on that wheel file, although I still got an error here.', 'start': 260.31, 'duration': 5.143}], 'summary': 'The process involves downloading, opening a command window, and installing pygame using pip, with some errors encountered.', 'duration': 36.038, 'max_score': 229.415, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA229415.jpg'}, {'end': 341.263, 'src': 'embed', 'start': 307.52, 'weight': 2, 'content': [{'end': 308.301, 'text': 'Yeah, there we go.', 'start': 307.52, 'duration': 0.781}, {'end': 312.583, 'text': "So that installs Pygame for me anyways, since I'm on a 64-bit.", 'start': 308.381, 'duration': 4.202}, {'end': 315.525, 'text': "Obviously, if you're on 32-bit, you can use this process as well.", 'start': 312.704, 'duration': 2.821}, {'end': 321.029, 'text': "You would just download the different, you know, say you're on Python 3, 4, 32-bit, this would be your download instead.", 'start': 315.566, 'duration': 5.463}, {'end': 324.812, 'text': "So now that we've got Python, we can also do the same thing with Kiwi.", 'start': 321.57, 'duration': 3.242}, {'end': 329.395, 'text': "So pip, or actually, let's just do an up arrow, and we'll just delete this original one.", 'start': 324.832, 'duration': 4.563}, {'end': 331.656, 'text': "And then we'll say Kiwi.", 'start': 330.416, 'duration': 1.24}, {'end': 333.238, 'text': "There's the Kiwi wheel.", 'start': 332.237, 'duration': 1.001}, {'end': 333.778, 'text': 'Hit enter.', 'start': 333.358, 'duration': 0.42}, {'end': 335.239, 'text': 'Wait for it.', 'start': 334.558, 'duration': 0.681}, {'end': 336.28, 'text': 'Downloads on PAX.', 'start': 335.319, 'duration': 0.961}, {'end': 341.263, 'text': 'And I already have Kiwi, so it says everything was satisfied.', 'start': 338.061, 'duration': 3.202}], 'summary': 'Installing pygame and kiwi on 64-bit python, with kiwi already satisfied', 'duration': 33.743, 'max_score': 307.52, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA307520.jpg'}, {'end': 367.101, 'src': 'embed', 'start': 345.267, 'weight': 3, 'content': [{'end': 353.613, 'text': "It's going to vary slightly depending on your operating system, although basically every new version of either 2.7 or 3.4 is going to come with PIP.", 'start': 345.267, 'duration': 8.346}, {'end': 355.835, 'text': 'So PIP is probably the easiest method.', 'start': 353.653, 'duration': 2.182}, {'end': 361.899, 'text': 'And then again, if you have a 64-bit or some other operating system that, at least for Windows..', 'start': 356.355, 'duration': 5.544}, {'end': 364.66, 'text': 'You can use this website here.', 'start': 363.2, 'duration': 1.46}, {'end': 367.101, 'text': "I'll put a link to this website in the description.", 'start': 364.68, 'duration': 2.421}], 'summary': 'New versions of 2.7 or 3.4 come with pip, the easiest method for installation.', 'duration': 21.834, 'max_score': 345.267, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA345267.jpg'}], 'start': 3.37, 'title': 'Kivy basics and package installation', 'summary': 'Introduces kivy for creating cross-platform guis with python, emphasizing mobile device interaction and phone api access. it provides detailed instructions for installing pygame and kivy packages on linux and windows, including commands and troubleshooting tips.', 'chapters': [{'end': 135.311, 'start': 3.37, 'title': 'Introduction to kivy basics with python', 'summary': 'Introduces kivy as a cross-platform software development kit for creating guis with python, highlighting its ability to interact with special features of mobile devices and access phone apis, and the requirement of pygame and kivy for its usage.', 'duration': 131.941, 'highlights': ['The chapter introduces Kivy as a cross-platform software development kit for creating GUIs with Python, emphasizing its capability to interact with special features of mobile devices and access phone APIs, including gestures and phone sensors.', 'Kivy is highlighted for its cross-platform functionality extending to mobile with iOS and Android, showcasing its ability to convert applications to Android using Buildozer.', 'The requirement of Pygame and Kivy for the usage of Kivy is mentioned, emphasizing the dependency on Pygame for Kivy to work effectively.']}, {'end': 367.101, 'start': 135.351, 'title': 'Installing python packages: pygame and kiwi', 'summary': "Details the process of installing python packages pygame and kiwi, providing instructions for linux and windows users as well as using pip and a website to download the packages, including troubleshooting tips. the process involves using commands such as 'sudo apt-get install python pygame' and 'pip install pygame' for linux, and downloading wheels for 64-bit windows and using pip for installation.", 'duration': 231.75, 'highlights': ["The chapter details the process of installing Python packages Pygame and Kiwi, including using commands such as 'sudo apt-get install python pygame' and 'pip install pygame' for Linux, and downloading wheels for 64-bit Windows and using PIP for installation.", 'Provides instructions for Linux and Windows users and troubleshooting tips.', "The chapter emphasizes the use of PIP for installation, stating that it's the easiest method for most new versions of Python.", 'Instructions are given for obtaining the packages from a website, particularly for 64-bit or other Windows operating systems.', 'Troubleshooting tips are provided, such as referencing the correct Python version using specific directory paths and dealing with errors during installation.']}], 'duration': 363.731, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA3370.jpg', 'highlights': ['Kivy is a cross-platform software development kit for creating GUIs with Python, emphasizing mobile device interaction and phone API access.', 'Kivy extends its cross-platform functionality to mobile with iOS and Android, showcasing its ability to convert applications to Android using Buildozer.', "The chapter details the process of installing Python packages Pygame and Kiwi, including using commands such as 'sudo apt-get install python pygame' and 'pip install pygame' for Linux, and downloading wheels for 64-bit Windows and using PIP for installation.", "The chapter emphasizes the use of PIP for installation, stating that it's the easiest method for most new versions of Python.", 'Troubleshooting tips are provided, such as referencing the correct Python version using specific directory paths and dealing with errors during installation.']}, {'end': 697.892, 'segs': [{'end': 407.114, 'src': 'heatmap', 'start': 375.262, 'weight': 0.785, 'content': [{'end': 378.703, 'text': "So I'm going to just minimize this all for now.", 'start': 375.262, 'duration': 3.441}, {'end': 380.623, 'text': "I don't think I'll need it again.", 'start': 378.723, 'duration': 1.9}, {'end': 385.464, 'text': "But first, let's go ahead and just import Kiwi.", 'start': 381.603, 'duration': 3.861}, {'end': 388.245, 'text': 'And let me make my font here bigger as well.', 'start': 386.164, 'duration': 2.081}, {'end': 389.325, 'text': 'I forgot to do that.', 'start': 388.265, 'duration': 1.06}, {'end': 395.54, 'text': 'Sorry, line import kivi and just make sure that we can run this.', 'start': 389.505, 'duration': 6.035}, {'end': 397.723, 'text': 'so just save and run that.', 'start': 395.54, 'duration': 2.183}, {'end': 400.566, 'text': "and, uh, make sure you don't get any errors.", 'start': 397.723, 'duration': 2.843}, {'end': 401.607, 'text': 'this is just some info.', 'start': 400.566, 'duration': 1.041}, {'end': 404.431, 'text': "you'll see that kivi spits out a lot of stuff.", 'start': 401.607, 'duration': 2.824}, {'end': 407.114, 'text': "so anyway, uh, so, that's that.", 'start': 404.431, 'duration': 2.683}], 'summary': 'Imported kiwi, ran successfully, displayed info. no errors encountered.', 'duration': 31.852, 'max_score': 375.262, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA375262.jpg'}, {'end': 461.17, 'src': 'embed', 'start': 436.473, 'weight': 0, 'content': [{'end': 442.015, 'text': 'So Kiwi.require, and you can require a version number.', 'start': 436.473, 'duration': 5.542}, {'end': 444.816, 'text': "So 1.8.0, I think is the one that we're using.", 'start': 442.115, 'duration': 2.701}, {'end': 448.758, 'text': "I already forgot, but let's just Kiwi require 1.8.0 and see if we have any issues.", 'start': 444.836, 'duration': 3.922}, {'end': 452.488, 'text': "No Yeah, so V 1.8.0, everything's fine.", 'start': 449.058, 'duration': 3.43}, {'end': 456.849, 'text': "And if someone is using an older version of Kiwi and they try this, it just won't work.", 'start': 452.768, 'duration': 4.081}, {'end': 459.95, 'text': "And it'll give them an error like, oh, you don't have that.", 'start': 457.509, 'duration': 2.441}, {'end': 461.17, 'text': "So let's try 1.9.0.", 'start': 459.99, 'duration': 1.18}], 'summary': 'Testing kiwi.require 1.8.0, no issues. upgrading to 1.9.0 next.', 'duration': 24.697, 'max_score': 436.473, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA436473.jpg'}, {'end': 507.607, 'src': 'embed', 'start': 481.558, 'weight': 3, 'content': [{'end': 486.361, 'text': "but you might want to add that in a production version if you're using features that require a certain version.", 'start': 481.558, 'duration': 4.803}, {'end': 487.362, 'text': 'Moving along.', 'start': 486.922, 'duration': 0.44}, {'end': 492.065, 'text': "So now what we're going to go ahead and do is create our first app class.", 'start': 488.363, 'duration': 3.702}, {'end': 493.967, 'text': 'And so this is basically..', 'start': 492.286, 'duration': 1.681}, {'end': 499.454, 'text': 'going to be the crux of your Kiwi application.', 'start': 496.409, 'duration': 3.045}, {'end': 505.183, 'text': "So instead of import Kiwi, we're actually going to do from Kiwi import app.", 'start': 499.474, 'duration': 5.709}, {'end': 507.607, 'text': "And actually that's capital A, my bad.", 'start': 505.884, 'duration': 1.723}], 'summary': 'Creating the first app class for a kiwi application, importing from kiwi with a capital a.', 'duration': 26.049, 'max_score': 481.558, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA481558.jpg'}, {'end': 665.594, 'src': 'embed', 'start': 637.737, 'weight': 2, 'content': [{'end': 640.839, 'text': "So there's a lot of stuff you can do with Kiwi,", 'start': 637.737, 'duration': 3.102}, {'end': 647.801, 'text': 'but you can also go to the Kiwi website and they have quite a bit of documentation for various things on their website.', 'start': 640.839, 'duration': 6.962}, {'end': 653.603, 'text': "So you can go docs and within docs and yeah, there's like a search here.", 'start': 647.841, 'duration': 5.762}, {'end': 658.127, 'text': "So you can search things in the documentation that you're looking for.", 'start': 653.943, 'duration': 4.184}, {'end': 662.531, 'text': "So if you're looking for a button or if you're looking for a canvas drawing or whatever, you can search it.", 'start': 658.187, 'duration': 4.344}, {'end': 665.594, 'text': "But we'll talk a little bit more on that in a little bit.", 'start': 662.571, 'duration': 3.023}], 'summary': 'Kiwi website offers extensive documentation and search functionality for various features.', 'duration': 27.857, 'max_score': 637.737, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA637737.jpg'}], 'start': 367.141, 'title': 'Importing and creating kiwi app class', 'summary': 'Covers importing kiwi and checking its version, while also creating the first app class for a kiwi application, emphasizing the importance of correct version usage and highlighting the extensive documentation available.', 'chapters': [{'end': 481.558, 'start': 367.141, 'title': 'Importing and checking kiwi version', 'summary': 'Covers the process of importing kiwi and checking its version, emphasizing the importance of using the correct version to avoid errors, and demonstrating the process through code examples.', 'duration': 114.417, 'highlights': ['The importance of using the correct Kiwi version to avoid errors is emphasized, with examples showing how different version requirements may result in either successful execution or errors.', 'Demonstrates the process of importing Kiwi and checking its version through code examples, emphasizing the potential errors that may arise when using an incorrect version.', 'The chapter discusses the significance of adding the latest Kiwi version, while noting that having an older version does not necessarily prevent the code from running.', 'Emphasizes the process of importing Kiwi and adjusting the version to ensure compatibility, showcasing the impact of using an older version through code examples.']}, {'end': 697.892, 'start': 481.558, 'title': 'Creating kiwi app class', 'summary': 'Covers creating the first app class for a kiwi application, importing and understanding the label class, and highlighting the extensive documentation available for kiwi, emphasizing its usefulness for development.', 'duration': 216.334, 'highlights': ['Kiwi provides extensive documentation, making it useful for development, with more documentation than code available within the Kiwi code itself and on the Kiwi website.', "The chapter introduces creating the first app class for a Kiwi application, which forms the crux of the Kiwi application, and emphasizes the unnecessary nature of importing 'Kiwi' for the used features.", 'The transcript explains the process of importing and understanding the label class in Kiwi, comparing it to labels in Tkinter and highlighting the availability of detailed documentation for the label class.']}], 'duration': 330.751, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA367141.jpg', 'highlights': ['Importing Kiwi and checking its version is crucial, showcasing the impact of using an older version through code examples.', "The importance of using the correct Kiwi version to avoid errors is emphasized, with examples showing different version requirements' impact on execution.", 'Kiwi provides extensive documentation, making it useful for development, with more documentation than code available within the Kiwi code itself and on the Kiwi website.', 'The chapter introduces creating the first app class for a Kiwi application, which forms the crux of the Kiwi application.']}, {'end': 961.435, 'segs': [{'end': 724.001, 'src': 'embed', 'start': 698.012, 'weight': 1, 'content': [{'end': 702.554, 'text': "So anyways, let's go ahead and create our class.", 'start': 698.012, 'duration': 4.542}, {'end': 704.915, 'text': "And we're going to call this simple..", 'start': 703.254, 'duration': 1.661}, {'end': 707.896, 'text': "Kiwi, and that's our simple Kiwi class.", 'start': 705.635, 'duration': 2.261}, {'end': 712.737, 'text': "And then in here for the inheritance, we're gonna inherit from the app class.", 'start': 708.316, 'duration': 4.421}, {'end': 720.8, 'text': "So let's Kiwi, and then we open up the app class here, and this is your app class.", 'start': 713.297, 'duration': 7.503}, {'end': 724.001, 'text': "not too much here, but that's what we're inheriting from.", 'start': 721.38, 'duration': 2.621}], 'summary': 'Creating a simple kiwi class inheriting from the app class.', 'duration': 25.989, 'max_score': 698.012, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA698012.jpg'}, {'end': 767.523, 'src': 'embed', 'start': 739.724, 'weight': 3, 'content': [{'end': 745.526, 'text': 'you would, you know, normally probably need to write yourself, but someone has already done it for you.', 'start': 739.724, 'duration': 5.802}, {'end': 746.926, 'text': "so anyways, we're inheriting from app.", 'start': 745.526, 'duration': 1.4}, {'end': 749.408, 'text': 'Now, moving right along.', 'start': 747.446, 'duration': 1.962}, {'end': 756.193, 'text': "Also, if you're not too familiar with object-oriented programming, my channel, typically we build everything with functions.", 'start': 749.628, 'duration': 6.565}, {'end': 762.258, 'text': 'But when it comes to GUIs, object-oriented programming is definitely the way to go.', 'start': 757.074, 'duration': 5.184}, {'end': 763.459, 'text': 'So we use that here.', 'start': 762.578, 'duration': 0.881}, {'end': 767.523, 'text': 'I do have an object-oriented crash course using Tkinter as an example.', 'start': 763.479, 'duration': 4.044}], 'summary': 'Inheriting from app, using object-oriented programming for guis, with a tkinter crash course.', 'duration': 27.799, 'max_score': 739.724, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA739724.jpg'}, {'end': 834.272, 'src': 'embed', 'start': 787.13, 'weight': 2, 'content': [{'end': 791.334, 'text': "defined build, and then we're just going to have it return capital L label.", 'start': 787.13, 'duration': 4.204}, {'end': 794.017, 'text': "And then we're going to say the text of that label.", 'start': 791.854, 'duration': 2.163}, {'end': 801.584, 'text': 'Again, if you want to know more about the parameters possible with label, look at that kiwi.uix.label and then the label class within.', 'start': 794.337, 'duration': 7.247}, {'end': 809.871, 'text': "And we're just going to say the typical hello world, exclamation mark, because this computer is really excited to say hello.", 'start': 802.184, 'duration': 7.687}, {'end': 813.061, 'text': "now that's that.", 'start': 810.757, 'duration': 2.304}, {'end': 816.886, 'text': "so we have our app, and that's pretty much all we have to do at this point.", 'start': 813.061, 'duration': 3.825}, {'end': 824.509, 'text': "so now we're just going to say is if name equals, I mean just that typical line.", 'start': 816.886, 'duration': 7.623}, {'end': 825.63, 'text': "You don't really need this.", 'start': 824.77, 'duration': 0.86}, {'end': 831.691, 'text': 'This is just so if you were to import this script, it would only run if you were actually running the script.', 'start': 825.67, 'duration': 6.021}, {'end': 834.272, 'text': "So this code wouldn't run if we were importing it.", 'start': 831.771, 'duration': 2.501}], 'summary': 'Building a simple app with label and conditional statements', 'duration': 47.142, 'max_score': 787.13, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA787130.jpg'}, {'end': 915.565, 'src': 'heatmap', 'start': 864.608, 'weight': 0, 'content': [{'end': 870.113, 'text': "So what we're, we're just like label, right? We were, this is the actual script name.", 'start': 864.608, 'duration': 5.505}, {'end': 878.1, 'text': "So from kivi.app here, We open that up, that's from kivi.app, and then we're trying to import the app class wherever it is.", 'start': 870.173, 'duration': 7.927}, {'end': 880.062, 'text': 'Like I said, so much documentation.', 'start': 878.36, 'duration': 1.702}, {'end': 885.026, 'text': "Anyway, we're importing app, which by the way, inherits from Event Dispatcher.", 'start': 880.562, 'duration': 4.464}, {'end': 889.45, 'text': "So as you can imagine, there's a lot of code that is already written for you.", 'start': 885.106, 'duration': 4.344}, {'end': 892.633, 'text': 'Anyway, simple kivi app run, that should be all set now.', 'start': 890.01, 'duration': 2.623}, {'end': 895.755, 'text': 'Wait for it.', 'start': 895.035, 'duration': 0.72}, {'end': 899.538, 'text': 'And here we have our Hello World application.', 'start': 896.276, 'duration': 3.262}, {'end': 901.266, 'text': 'Boom Okay.', 'start': 900.305, 'duration': 0.961}, {'end': 904.891, 'text': 'So 15 minutes, basic Kivi application.', 'start': 901.667, 'duration': 3.224}, {'end': 915.565, 'text': "But what's neat is this application already could run just about all the major operating systems, Android, iOS, Windows, Linux, and Mac.", 'start': 905.232, 'duration': 10.333}], 'summary': 'Creating a kivi app in 15 minutes that runs on major operating systems.', 'duration': 50.957, 'max_score': 864.608, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA864608.jpg'}], 'start': 698.012, 'title': 'Creating and building kivi applications', 'summary': "Covers creating a simple kiwi class inheriting from the app class, leveraging object-oriented programming for guis, defining a build function to display 'hello world' using label parameters, and the process of building a basic kivi application, including importing the app class, running the script, and the capability of the application to run on major operating systems like android, ios, windows, linux, and macos, with the ability to resize and adapt to different platforms, achieved in a short code span.", 'chapters': [{'end': 809.871, 'start': 698.012, 'title': 'Creating simple kiwi class', 'summary': "Covers creating a simple kiwi class inheriting from the app class, leveraging object-oriented programming for guis and defining a build function to display 'hello world' using label parameters.", 'duration': 111.859, 'highlights': ['Creating a simple Kiwi class inheriting from the app class The chapter focuses on creating a simple Kiwi class that inherits from the app class, demonstrating the concept of inheritance in object-oriented programming.', 'Leveraging object-oriented programming for GUIs The chapter emphasizes the importance of object-oriented programming for graphical user interfaces (GUIs) and recommends it as the preferred approach.', "Defining a build function to display 'hello world' using label parameters The chapter explains the process of defining a build function and using label parameters to display 'hello world' in the GUI, providing practical guidance for creating graphical elements."]}, {'end': 961.435, 'start': 810.757, 'title': 'Building basic kivi application', 'summary': 'Covers the process of building a basic kivi application, including importing the app class, running the script, and the capability of the application to run on major operating systems like android, ios, windows, linux, and macos, with the ability to resize and adapt to different platforms, achieved in a short code span.', 'duration': 150.678, 'highlights': ['The application could run on major operating systems like Android, iOS, Windows, Linux, and macOS. The Hello World application was demonstrated to run on various operating systems, showcasing the broad compatibility of the Kivi application.', 'The script could run with minimal lines of code, showcasing the simplicity and efficiency of building a Kivi application. The demonstration revealed that the basic Kivi application could be built with minimal lines of code, emphasizing its simplicity and efficiency.', 'The process of importing the app class and running the script was highlighted, emphasizing the essential steps in building a Kivi application. The process of importing the app class and running the script was emphasized as crucial steps in building a Kivi application, providing a foundational understanding of the process.']}], 'duration': 263.423, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/CYNWK2GpwgA/pics/CYNWK2GpwgA698012.jpg', 'highlights': ['The application could run on major operating systems like Android, iOS, Windows, Linux, and macOS. (Broad compatibility demonstrated)', 'Creating a simple Kiwi class inheriting from the app class. (Demonstrating inheritance in OOP)', "Defining a build function to display 'hello world' using label parameters. (Practical guidance for creating graphical elements)", 'Leveraging object-oriented programming for GUIs. (Emphasizing OOP importance for GUIs)', 'The script could run with minimal lines of code. (Emphasizing simplicity and efficiency)', 'The process of importing the app class and running the script was highlighted. (Essential steps in building a Kivi application)']}], 'highlights': ['Kivy extends its cross-platform functionality to mobile with iOS and Android, showcasing its ability to convert applications to Android using Buildozer.', 'The application could run on major operating systems like Android, iOS, Windows, Linux, and macOS. (Broad compatibility demonstrated)', "The chapter details the process of installing Python packages Pygame and Kiwi, including using commands such as 'sudo apt-get install python pygame' and 'pip install pygame' for Linux, and downloading wheels for 64-bit Windows and using PIP for installation.", 'The chapter introduces creating the first app class for a Kiwi application, which forms the crux of the Kiwi application.', 'Importing Kiwi and checking its version is crucial, showcasing the impact of using an older version through code examples.', "The importance of using the correct Kiwi version to avoid errors is emphasized, with examples showing different version requirements' impact on execution.", "Defining a build function to display 'hello world' using label parameters. (Practical guidance for creating graphical elements)", 'Leveraging object-oriented programming for GUIs. (Emphasizing OOP importance for GUIs)', 'The script could run with minimal lines of code. (Emphasizing simplicity and efficiency)', 'The process of importing the app class and running the script was highlighted. (Essential steps in building a Kivi application)']}