All right, so welcome back again. So in this particular session, we try to see how to work with a very nice package called hollow. hollow is one of the tools to help us add beauty. And then fast necks as well as spining, or spin spinners to our CLR. So let's see how to create it to store just go to your terminal, then just go to pip install, hello, find that is all that you need to build a store on your system. So let's install it with a stamp.
If it was installed, let's see how to work with. So I'm just going to create a file from here in our code anymore for us. I just call it as any name, so let's call it Hello. Right. So it's very interesting. Now let's see how to work with Hulu.
So Hulu is very, very interesting give us give us the option of adding some interesting some cool spining ability to offer your life. So let's work with it to the server we are working on it. The first method is going to be a server less input From Hello, inputs, I look right at his face then now in the first example, the first method of working with this is to work with it from scratch, like by quitting a Bible. So the Bible is going to be called spider. And for me, I can just go with the Hello, class in our passing my test in the mocha test can be any Phyllis code loaded right? Then I can just pass in the next argument of my Spiner then our passing.by default is going to use to write to that order I need right so I've created a simple variable to be able to run it come back in good steps.
Spider, a spin me how you call it, then go is that. So that is too good to start right there. later on. I'm going to give it some time consuming activity, right. So let's import the time here and use time to simulate our time consuming activity input time. Then from here, there's going to be to find time to sleep for let's see four.
Seconds, then I just go with Spiner. But stop, right. And this also, if I see it now, and I come back to my terminal, it seems like this run into Python three, then I run the Hello binary, which is a devious animation showing the loaded here and then the spine is this particular dose, right that is the basic idea with that, then just finished perfectly. So it's going to wait for this particular seconds, and then give us some sort of the first method right, the first method of working with it. So we just create a variable called spider in which you're going to have audible voice activated features what to do next I want to change the color. The default color that we saw was sign which was a blue color, which the cyan color is going to change it particular color.
I can specify that one here by coming to this place and go with color. Then I can just give it a column so let's give it a color like magenta. My chin Let's see within an hour, let's run it again. And we'll run the Hello Today consider data language change to magenta, sit down discuss the difference, right? Very, very interesting is how to change that particular color. To change the color for the loading senesce.
Go here, add a test color, do not specify a particular color. Let's make it as read. So if I save it, and I come back, and now let's run it again, she's going to run it differently for us and give us red for dark blue does the deluding now it's red, and Spiner is magenta. So this color is for the animation spider. And then the test color here is for our loading our district as the name goes, very interested. So the basic idea behind recommended so this is something very basic.
Now let's see some other stuff going to do. So let's change this one and use the default white. This fight is better than less use. I think we can just put past in our scientific cyan light, which is like bluish color. If I ran it is still going to give us the same color. Right, it's support about seven colors, so everything is working well.
So in case I want to do some activities, I can also bring them also to PC some test here. And putting some tests, I can also produce bicycle activity, right, it's still going to work list adduced introduce a simple, basic method of working with it and add a lot of things to it can add some stuff like start, sleep stop and can also have a seat. So let's add some new features to it. I just come back to the same place here is a time consuming activity. Then I'm going to quit my spider sassy which is going to be just in case it's a seat I want you to print this stuff for me right so what do I want you to print out to see that I want you to add added false, right something like that. If I see this one, enough to create time, sleep For I see this one, and I run it back again.
Good difference. Let's run it to see. So we're going to start loading it, there's going to give us this class test, which is odd and false, then it's good move on to the success give us this automatic success. So that is very interesting. So I can add some various features to it. So let's add some best features to be super, super good to be changing column does get stolen package to installing package something like that.
I could give them a good face for our default. To go to start. You're going to default to the user does Yeah, surely I didn't fo so you could just do the same thing. I did copy this one here. Come back here. Go to the user that does activity MD two backslash, backslash n. Then I can just turn that huddle, false to putt good after finishing up Activity yesterday added false or false.
Right? So that is it to less brick with some few seconds here. Very interesting. So this is going to start it showing this particular Hello then is going to sleep for some time there's going to initiate it with us that capability to add files to path there's going to sleep to that particular activity added to the fat to display sequel Yes, put your function, your time consuming activity or your time consuming activity and it's a big idea. Then you just sleep for some time. Then if you finish you just go with a seat or sausage right?
The seat right very interesting. And you sleep for some time in Atlanta wants to let go this spider. But that's not opposes policy. I certainly see. We're telling the person every asset and up that's enough system suddenly that deadly don't just move on to toilet paper not half finished, right? This is copy the same thing here.
I'll give you the time to sleep for this some four minutes to sleep and I'll give it an optional seat. Right? Very interesting. So let's speed it up. So this activity is one activity and it is an activity to sit in a stem, the list of completed, finished, finished certain. So let's see with the restaurant and see what you have done.
Come back to the same place. Then I run it again. Because the difference the faces will tell us installing packages, very interested is going to finish after four seconds, then it falls apart. Very interesting. Then after that's finished to ticket added files, let's move on to the next option which is setting up to step which is this particular one. So after that's finished doing that particular activity, finish it FST as a basic idea about how to add spining or spinners to your car, using Hulu.
Very interesting way to just import from Hulu and put Hulu, they just want to create your variable called Hulu in which you pass in a test, then it just starts with this encompassed in your test your test to show the user then can just do your time consuming activity. And if you finish, you just tell the user that has succeeded. It has muscular activity, they literally just go on which these are the main steps to start, succeed. Stop stasis each time they pick it too soon, so I'm glad to see how to work with a different format. So thank you for watching, and see you the next session. Stay blessed