Build pythons apps in minutes in this jupyter ipywidgets beginners tutorial. Jupyter widgets is the easy to make python apps. In this tutorial you will make a python gui from scratch.
Awesome Links to learn more:
List of Widgets
ipywidgets.readthedocs.io/en/...
Widgets Layout
ipywidgets.readthedocs.io/en/...
interact functions
ipywidgets.readthedocs.io/en/...
HTML Tutorials
www.w3schools.com/html/
fontawesome icons
fontawesome.com/icons?d=galle...
Tutorial Topics
Introduction- 0:0
In this tutorial we will learn how to use Jupyter Widgets. Jupyter widgets are the easiest way to create interactive applications in python. This tutorial will show you the basics of how they work. See the next tutorial to learn how to make a video game!
Import Widgets- 1:15
I show the simplest and best way to import a python package. A Python package is a toolbox of useful premade python functions.
Different Types of Widgets- 2:19
In this section I show the most common widgets I use. To see all the widgets check out the List of Widgets link. Widgets I show are Buttons, Sliders, Dropdowns, Text boxes, and Progress Bars.
Widget as Variables- 4:35
So how do we actually make the progress bar move? First off we can save the widget as a python variable. In python, functions are what you use to do stuff, they are what make the code your write run. So if you want a widget you create to do something, you need to give it a function. In the next video, you will see how this can be used to create a video game!
Interact function- 7:55
Adding functions to widgets can get pretty complicated. To make things easier I recommend you start out by using the Interact function. You can learn more about interact functions here. The simplest way to do this is with the interact decorator.
Widget Layout Box- 11:38
In order to make your application look professional it's important to have your widgets laid out in a well organized way. Here you can find a detailed description about widget layouts. You should also check out the widgets I used in the io_online and cytoscape applications.
Conclusion- 17:56
Just watching this tutorial is not how you learn. Make sure you try running all of the lines of code that I ran. The best way to learn how to code is practice! Even if you don't solve the problem, just trying will teach you a lot. Also, when you have questions, try googling them!
What is Jupyter? What is io?
Jupyter is a new operating system has become the most popular tool in data science. io is a new versions of jupyter that is perfect for beginners wanting learn how to code, because it’s easy to install and gives you all the tools you need. io also lets you program on any device! This is because io is a website that runs on google cloud compute engine. I also show how you can build fast jupyter applications using io online.
7 мар 2019