So now many be saying how boring this is.
And I wrote, as I would quote the previous video, smashing the server socket and the flask V6.
Now let's go under this one so we don't need this.
So it just it's absurd in the extent that we're creating the website here.
So let's go and import from flask import start.
So we were creating a relegation.
So let's create the app here, our physical store flask of now and at the bottom what we're going to
do is if his name he's.
Main, then we need to run this one obligation Republicans to prove.
So we need to define the rules for the index page.
So this is our index page.
So let's go ahead and add row after row, both at home.
Next phase, the return of nexgard patch.
So we need to build this support core.
What we can do is we can say about, you know, above, before, before our first request.
I think it's bad before the first request.
Okay.
So when I got there, remember random observer, if anybody is visiting the homepage than before that
request is being requested, this code gets so defined that's pushed or seen, etc. so we are starting
our server circuit along with this web server.
So tap this one.
So out of this node right here in this web server, this server, this function gets decrypted and our
socket goes on binding and meaning.
And if there is any connection, a new trade will be created.
So what we're going to do is we're going to maintain the track of this particular.
So whenever there is a trade in the trades.
What we're going to be is.
We're going to.
Maintain something called parity index.
Broad indexes should zero.
So these third indexes like the one in trying for which index thread should access are most important
symbol.
Okay.
And.
So maybe after passing the thread index as well.
So basically the thread index also depends how many threads are created.
So article is a language, the address we can sell and both sets.
So there should be a separate number.
So let's go to the hand handle connection and we can set up thread index.
So this is a thread index know there is a thread created the thread indexing in so that means seam the
input of zero and above.
The pressure is an infinity for the input and if there is any changes in the input, which would be
the kind of circuit and the coordinates educated and it will be send the message on board so it's going
to is upon receiving the message message is not good.
So instead of printing what we are going to do is.
On receiving the message.
What we can do is see them be on top of threat index the coastal message.
So we're taking known output and putting in this symbol.
Put this in the message.
Not easy to quit.
Then we need to send the message to this kind of something.
Now all we can say is,
I enjoyed this message.
When you do see them being put through trade index because they're sending people spread index, you
see them being published.
It really
generated the violence in the film being generated by The Observer.
So we'll be creating a forum.
So in that fine, we'll do the comment and it's there see them doing.
It's not as it goes to quit.
Then what we can do is.
We can see messages.
You can still see them day in group of products.
And that message should be sent to the connection, the current connection, and then we should receive
the message.
And I presume you should also see them be helpful.
CMB and Scott output of Threat Index.
That index is measured sort of two.
Also one see a record.
Upon receiving the connection, we received a message from the client and we will update this output
as this message.
So then we keep on visiting for any modification of the data.
And if it's not too to good.
Are.
RCMP in book after the index should not be able.
So first, let's consider for a year in just one day.
But it's not up enough.
So they'll be making some and baby out of the rented frontier.
Seemed to be enough for him to do so well.
Creating some empiricists.
So here we need to change some corporates, for that would not happen, he said.
But it's.
Off the index to be.
Oh, it's just coming.
This one.
So we'll be keeping that or the penalty.
But it's not a penalty, so they should be fined for now.
If there are any errors, we're going to take later.
So we'll be sending the land of parrots and destroyed people listening on this.
And it also said globalism they hope will turn global comedy into.
So whatever the operations you are doing, it will be reflected in this main.
So for me this is the message.
And then we are building now and this year we are monitoring Ferguson being booked after the index notice
goes to good.
And then we should also check for another condition, that is.
Not only calls to empty.
So they would be not good, are not a big donor.
They are doing it to send the message.
You need to send a message and we should receive the message again.
And we were bedding in this.
Okay, this should be fine for now.
So this is our homepage.
And we'll be defending another page that is the wrong path slash agents.
So this year you can see all of the existing agents.
So we creating another file that is Agent Stardust.
So we are at this sort of general based here, so we consider this stuff.
Jen Psaki So here's what you need to do is you need to pass down.
Number of trucks, you need to pass that pretty much.
So Russell Bull one thing that is also maintain the EPS is so they are source of nine incoming clients.
What we have here.
So we have the address here.
So what we can do is try to get up and up and.
It's a global threat, global rapists.
A piece of thread index is equal to address so they should be fence addresses prove with the IP address
and phone number, which you should just see on this.
That's just revert summarize modify this one thread index.
The second study.
So what we need to do is we need to pass the spirit.
And the IP reached into this cadence one.
So return.
Rendered temperate of.
Higgins, not Nakajima.
And the parrots.
Come on, Ibis.
Right.
So let's go and do this.
Strategical stuff.
Threads.
Maybe this goes to ibis.
So we're putting the police into this in strategy.
So we need to look at these agents.
And this is how many people give them.
For I in there.
It's.
So they were printing the threat.
So let's, uh.
This.
It's good to.
And they are men.
So that's plenty, I think.
I not name of Giro.
So let's first bring this A-Rod name.
And we should also print a very precise.
So we think that the index will be subject to how you find these threats.
But index of far, so this should be the index of this looking relative.
Then what you can do is you can just simply share a piece of this index.
So that should be you.
Exactly.
The IP address and the number of that particular element in there.
So these these are the introduction.
So it's going to run this one.
Very decent perks.
Oh, I forgot this closing bracket.
So it's going to run this.
You sing on the court oppositional argument.
So for this before I before I started Quest.
So when you do pass their function, you need a server.
So they should define.
So that's cut this and pressure.
Okay.
We need to name that function as before.
First request.
Okay.
So let's go.
And.
So it's not reporting any sort of tumor.
They don't know what's going on.
Okay, it's, uh.
I have understood.
So this sort of connection as we're learning.
So what we can do is we can create an interpreter for this.
So this is normal in itself, right?
So let's go and see this, uh, that, uh, this one server underscore something.
So this should start with this socket.
So before that, we can say you need the server.
So what we were doing is we'll be creating a thread to run this function.
Threading the tradeoff target is equals to server underscore socket.
And this is one that starts.
So this should be this thread should start independently.
Then we don't get broken by this reasoning.
So let's cut this and push before this first request.
So now you can start the server and run this and you can see our website and we should also have the
socket running.
So let's go to agents.
Sorry.
Indians.
So there are no agents?
No.
So we can run a connection.
So it's not a building.
So we have done something wrong.
So let's see the code again.
Okay.
We can just index physical stolen stuff threats.
Let's go, agents.
And we should see the evidence.
We do not see this.
Oh, my word against Margaret's conjecture.
You.
So we're not getting any data.
So let's go and print this.
So now we're going see, we got this, uh, IP address and phone number in the same way.
What we can do is we can put into these.
Threads so we can see that thread so that it does threat of terror that contains actual trade.
And we can just get rid of the robot name.
Okay.
So you can say, I suppose I got them.
So now you can see.
I don't know.
You try to fight.
So in the same way, what we can do is
we can say.
Ideas of threats, the index of eye.
So they should do fine.
Oh, this one.
So now you can see for the trade, the fight.
We have got this connection.
So let's go and write a code after closing this connection.
We need to build this trade and the IP address.
So that let's close this and know what we're going to do is we will create a close connection.
So in the close connection, Mark, we're going to use we are going to pass this print index.
Trade index.
So we are just making the trades after the index is small
and a piece of trade index.
So we are just the connection was close then.
We are just making sure that index was not of value so that another trade is created.
We can just insert the data that CMG and put.
So CMB output.
So Pablo created these connections.
Now let's go and run this.
Now let's go to agents.
So there are no agents?
No, let's go kind of this right for the first decision.
See the 730, this bipartisan broad number.
Let's go and create this connection and improve this.
And you should.
What were we doing wrong?
Okay.
We need to send the message.
Okay.
So they're very simply stuck in this world.
So, okay, let's move forward.
And what we're going to do is we need to create a Republican of some comments to this thread so that
we can tell the truth of it.
Slash.
Execute.
Zombie.
So we'll be providing a link to this one.
So let's go and write a link.
An actual physical store.
So let's create another file that is executed attached.
So in this, we'll be having a forum.
So we can search for tips.
So tip on Bernie Sanders 001 current fighters and sudesh know what they're going to use.
So we're creating a new route for every agent.
So they the name is one, then the route should be one.
So we could see on the end of the trade.
Any name is three one, but all should be 3 to 3, especially the good CRM.
Okay, so what we can do is we can just say, are you not name here?
I don't know.
Slash execute CMB.
So this is the rule we had defined here whenever I click on this link.
So this should execute this route.
It's a live definition.
Define execute CMB.
And here we need to take the net.
TMD ready to execute.
So upon clicking this execute button will be redirected to this execution to.
And render off the game.
No, it be
so in this you can just.
Uh, insecure comments here.
So let's just say for now, let's go and run this.
So it's going to be unions and the city and this one.
And you should see the other fights you could see on.
So you should be automatically redirected to this.
You could see them.
Okay, let's stop this now.
Now, what we're going to do is we're going to have some fun here.
So in this one, I need to submit the command you need to send to the claimed soccer.
Saw it from action is equal to.
Metallurgical School pushed.
And Bachmann.
Input papers equals to text and memos equals to comment.
So this should be this is oversimplifying and moving forward.
The seven button input type is required to submit.
So upon submitting this, we need to.
That's great.
I never saw this.
So, in truth, we need to handle this.
Oh, come on.
So that app that rolled off.
We can handle this in this Mexico.
So let's copy the same water.
Copy.
And we need to pass again that readiness.
So this is kind of her deck again.
We're going to it's going create a new for this.
Okay.
Let's go and pass this threat to the coastal threats.
I want you to pass in the Nim name with the to the NIM.
So this will be passed as the name.
So we can just as it name.
So they should be fine.
So this is the good CMB and we will create a new needed for the execute it antonym slash execute.
So here we take your documents before execute of your agenda name.
So here we told you we're getting the data from this text before.
And it's a methods sequence too, that come up.
So we should be fine.
And if requests don't matter, it is extremely cost to us.
If the matter is pushed, then we should get the data so we can request not sort of mouth command.
So whatever you type in this picture, they should be getting this simply.
We know we need to update this according to this peritoneum it's.
So the trade the file.
So we need to update its uh, position in this list so I can use we need to find actual the thread nim.
So how we can do is we can bring in this by this Iranian name.
So here are the threats in the territories now.
We need to check each children name matches literary agent name.
So that matches me to the index.
And we build this symbol of that index.
So far you in threats if you believe in are you not now.
So if there is a letter defining this name, then what we can do is we can see required index.
So this is like similar to trade index.
So required index is equals to threats, not index self.
All right, so we have got our recorded index.
Now, what I can do is again to see the input of
record index.
The record index is equal to CMB.
So this should do fine.
And.
Here we are monitoring for the index at particular index.
And if it's not as it goes to good be.
I think so if it's an artist going to put R and D, so first of all, it will be good, right?
Going to build this one for now.
So we have one more problem here.
So my next two elements of the rescue will be empty and we need to monitor
for changes in this.
So first let's run this one and see.
So firstly, I mean, what are the indexes coming?
So whatever we do the comment in this which we'll be getting in this book.
And Britain.
So we can see the output is equal to CMB, underscore output of the quality index so that output gets
better by this function here.
I wouldn't say timed out.
We both want the guys where are giving their input and we are really asking for our vote.
So we do not get any output from the client.
So it should it can be traced once again.
Then we should return returned render template us execute that html.
And conditions here seem they are.
We can also get this in the pre-tax.
So the command post will be exactly what we are sending.
So let's go and run this one.
Let's go to agents.
So Connecticut and here didn't see and recommend.
It's a high.
The crash is not defined.
I'm sorry.
It's not.
I sort of crashed.
So we're going to execute now.
We need to send the message to the server.
Right.
And it's waiting for the message that I guess probably, uh, we get the message high.
So now we need to send again another message.
So I think we need to code this modify the code for this trigger to clean.
So let's close this one.
So I think we are good up to now know so you can see the high message from the ad on the Web page.
So we need to modify this one.
So should also push the claim.
So much is the starting motor there's just clean from then onwards.
When we first sending the message and we were receiving the message.
The.
So let's run this.
My agents and anything.
So we got the message, but declined.
And we'll send the message around to destroy the green.
So the connection is being closed now, so it's going to modify this again.
So if I were receiving the message.
So here it is, getting closer.
So I know where I have been wrong.
So first, let's build this one.
So we need to put another condition for this.
So first, what we are going to do is
where the see where the input not is equal to group.
Then we put this one.
And we should constantly go in the FA loop.
You see them the input of threat index not as equals to null.
So we'll be waiting for the web page, the web user, to do some input into this for the note here.
What you can do is you can do this one.
So if we are waiting here constantly in this way, look for the web user to give their input.
And after that input, maybe putting this message will be sending this message and we're releasing the
message again and we're putting in this output.
I think this should be fine.
So you're used to having to do something and we are sending dirt again and we are receiving this and
we are sending this again.
So let's go ahead and run this one.
So let's run this.
Let's go be agents.
And we shall see here in Madrid.
So now we can see the polarity.
Who am I?
Okay, so, uh.
So we have some kind of problem in this car.
And so.
Okay.
What about this racing one?
So once you are receiving, you are just printing in this room.
So we are sending the message and then we are going in and we are receiving for the better.
The message nicely goes to good.
Then send this.
And again, the reason for the incoming data.
So we are getting a real ding.
First, the input tonight is a push to quit.
Then what we need to do is we need to receive the data and sending in this to see them there.
And then we are checking if the input is not is equals to null.
Then there is some data like we are.
Maybe then we are sending for the.
And then I think we can remove this one.
We can say break.
So this loop gets broken and it will be still in the rain.
And we are checking again the message in our discourse.
Then we will be receiving the connection data.
And then putting this, you know, being in the same room.
So the fresh chickens are there to cause the connection.
I know, based on their input.
Uh, index.
That is good.
And this and this execute we will be.
Okay.
So it's a return to some executive order.
Okay.
We're not passing the name.
So further name is because two isn't a name.
Agents, but are no agents.
And now there is an agent with a routine submit and we should see the data.
Who am I?
So you can see who am I and what you see, whatever that means.
And there it should get reflected.
So similar to.
I don't know what they're going to do is they'll be executing whatever the message the server sends
us.
So instead of this printed statement.
So we've been prepping.
It's a process, so we're creating a new process to execute the command.
So
course.
So we need to see some process that we open up.
And what we're going to do is we need to bust the comment as an issue.
So we need to speak to this according to this process, if the communities development is sell so we
can no longer partitions in the thing.
So we need to divide this internally by spreading the donor rights business.
So message is it goes to my city.
That's pretty tough.
White space.
And we need to make this a very.
So we have made this message.
I need to pass this message and then we need to say it's a studio.
A studio.
Hope is equals to some process.
But by.
So what this does is it will send this process by.
So the first bit readable we're getting is the output.
And the second one is a relatively early reconstitution process.
So redirect the output of the error to process by.
And Picasso's shattered as he goes to prove.
I think we need to do something like some paralysis, communicate.
Okay.
I got this one.
So we get to be the stewards of process and easy to communicate.
So after the after the step down returner.
So we re sending that same message as goes to our book.
It's still raw for.
So that's one run this one.
Unions.
So there are no unions.
Let's run this.
There is an urgent need.
You keep your eye on my family to see who we are.
My comment read.
It's a from the deal.
And we should see the part here now to this.
And you see all of the users.
What we can do is we can modify some of the score.
So it's a good.
So we can see the program has been terminated.
And that's good evidence.
I'm sorry.
So there are no evidence going to take in.
Let's get the users right.
Let's go and say good.
So connection has been terminated and let's go and see the agents.
So we didn't search after the when you pulled this one.
So can we worry about that later?
Now, what we're going to do is we're going to let that decode.
So we get some of formatting.
The first is a thread.
And again, see some nice and interesting format here.
So we can also use the base64 encoding in future, maybe encrypting all of this data transfer as well.
So let's go into some random comment.
And you also you should also get the error.
So now we are getting out of there.
So when you do.
Okay.
We're not sending the we are sending only the output.
So that's the problem.
If so, I'll put.
Greater than zero.
There are no ads to send their.
So let's run this.
And we have an agent.
So you can see me either nodding in a yes and then star coming.
So I have done some nice, nice little business here.
So what you can do is you can go to the homepage and you can include the links for the agents link and
you could ring.
So I have done some courses here.
So I hesitate to use this.
So it's very easy to learn this, but you can learn it very easily and virtually, so you can include
this one.
So if you can grow this, the sciences that's included and you can use some explaining further.
So I'm going to cover this one.
And I also forgot to explain what is this?
I can block content, so it will be, uh.
I will expanding now.
So let's go and replace the entire contents here.
So if you go to this.
Oh, okay.
Let me try this one.
So we have a lot of firsts a year after.
If you print about this year for sale for printer like.
So the euro for this matter will.
So it's generally putting the this rule here.
So you are allowed so that you can also see above as well.
And we have agents.
So let's go and run this.
And if you open this and you can see some need to see this.
This is a simple navigation bar.
So you can click on aliens and here you can see this stuff inside.
So does.
Yes.
This did not get applied to this agency.
So what I can do is I can start this one.
I can see you need Internet email.
I can go into expense index or not.
So what this does is it will go and inherit all of the properties of this in the shortage of it.
So what you can do is just simply remove all of this one.
So the much dimmer body and this one.
So what is the actual content?
That is only this part, right?
So now what I can do is.
So here you can see block content.
So this block is defined the actual content of this index.
Since I have inherited all of this in the strategy in bulletins or general.
So now I can just as a percentage block content.
And here they're donating to end the block.
So what this does is when rendering the agent shortage, G.M. ignores and replaces all of this content
in here with the content of this discord in the initial.
So the dynamic content is changing for only this blog content.
So if you go and practice good agents.
So index is are different ratings index.
So we got some address.
Oh, I think.
I think so.
Now we can see the navigation but has been same for the next better noted insurance general bridge.
And we have this respect agents.
So now we're going to see cross is going to pay to use one.
So this is like Hydro One in the Bahamas uses.
And if you turn the page and you can see the big digital gradients or you can also say is three.
So I think this might convince you once you have understood the concept, you did very easily.
So the concept is very simple.
So what would we do in this verbiage?
It gets monitored by the trade info for each second.
If there is any genius in that input.
So that means user has gained some command.
So that command will be sent to the client and the client.
Did you get that message as a comment?
And since the output and here we will be updating the symbol published and here in the other page.
What we're going to do is we're going to sleep for 1/2.
So we're waiting for the output.
And as long as there has been a verdict, we are just sending that output into this same page.
So once you get it right.
So if your code runs, it will be very easy to understand.
So tell you how this will do in the upcoming list like we'll be doing is maybe doing some database connections
and maybe doing some next painting and rendering.
And that's all we're seeing hoping for this year.
We guys are seeing the bilateral data transfer.
So how I saw this by an actual data transfer.
So file transfer.
And also what?