WEBVTT

1
00:00.000 --> 00:00.150 align:middle line:84%


2
00:00.150 --> 00:01.150 align:middle line:84%
So there you have it.

3
00:01.150 --> 00:03.300 align:middle line:90%
We've now interpreted
a Python script

4
00:03.300 --> 00:04.555 align:middle line:84%
that does some cool stuff.

5
00:04.555 --> 00:06.660 align:middle line:84%
It imports libraries.

6
00:06.660 --> 00:08.550 align:middle line:90%
It sets up variables
that we're going

7
00:08.550 --> 00:10.290 align:middle line:84%
to be using later in the code.

8
00:10.290 --> 00:14.040 align:middle line:90%
It gets us logged in while
handling any errors that may

9
00:14.040 --> 00:15.960 align:middle line:84%
occur while trying to log in.

10
00:15.960 --> 00:18.900 align:middle line:90%
And then once it's logged in
and we're holding that token,

11
00:18.900 --> 00:21.090 align:middle line:90%
it then makes a
subsequent request

12
00:21.090 --> 00:24.030 align:middle line:90%
to get the list of applications
that Firepower Management

13
00:24.030 --> 00:24.870 align:middle line:84%
Center is going.

14
00:24.870 --> 00:26.580 align:middle line:90%
Now, I know this
was a lot, and it

15
00:26.580 --> 00:29.970 align:middle line:90%
may take a few times
reading through this script

16
00:29.970 --> 00:33.010 align:middle line:90%
to actually understand and
process what it's doing.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

16
00:29.970 --> 00:33.010 align:middle line:90%
to actually understand and
process what it's doing.

17
00:33.010 --> 00:35.220 align:middle line:90%
But take your time on
this one because this

18
00:35.220 --> 00:37.780 align:middle line:90%
is a big thing that's happening
in the networking world

19
00:37.780 --> 00:38.280 align:middle line:84%
right now.

20
00:38.280 --> 00:41.250 align:middle line:90%
We're all getting really
invested in network automation

21
00:41.250 --> 00:43.290 align:middle line:84%
and learning to code in Python.

22
00:43.290 --> 00:45.390 align:middle line:90%
Beyond that, we have
a lot of other content

23
00:45.390 --> 00:47.400 align:middle line:90%
here on CBT Nuggets
that can help you

24
00:47.400 --> 00:50.280 align:middle line:90%
on this Python and automation
journey, particularly

25
00:50.280 --> 00:51.610 align:middle line:84%
the DevNet Associate course.

26
00:51.610 --> 00:54.690 align:middle line:90%
So I'd really encourage you
to jump into those items

27
00:54.690 --> 00:57.000 align:middle line:90%
and learn more about
how Python works

28
00:57.000 --> 00:58.620 align:middle line:90%
and how we can
write code to handle

29
00:58.620 --> 00:59.972 align:middle line:84%
these types of situations.

30
00:59.972 --> 01:01.680 align:middle line:90%
I hope this has been
informative for you,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

30
00:59.972 --> 01:01.680 align:middle line:90%
I hope this has been
informative for you,

31
01:01.680 --> 01:04.220 align:middle line:90%
and I'd like to thank
you for viewing.
