From the course: Cisco CCNP Enterprise: ENCOR v1.2 (350-401) Cert Prep
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
The interactive interpreter
From the course: Cisco CCNP Enterprise: ENCOR v1.2 (350-401) Cert Prep
The interactive interpreter
In our previous video, we got Python installed. Specifically, we installed version 3.8.1 of Python. And we saw that if I just typed in Python at my command prompt, it's gonna run the version that I already had installed on my Mac 2.7. So if I want to run a specific version of Python, I need to specify it. Let's get out of this version by saying exit. By the way, exit, that's a function. And a function has to begin and end with an open and close parentheses. So I'll do an open parentheses close parentheses and press enter now if I want to run some version of Python 3.8 I'll say Python 3.8 and we can see that I'm now running version 3.8.1 and we're now sitting at the Python interactive interpreter And I love this environment because I remember back in college when I was learning to program in the C programming language I would have to write a program I would then compile it, and then I could run the executable that I had compiled, but Python is super convenient. We get to give a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Module introduction: Network automation1m 9s
-
(Locked)
Overview of SDN6m 21s
-
(Locked)
JSON formatting5m 55s
-
(Locked)
XML formatting7m 49s
-
(Locked)
YANG data modeling3m 55s
-
(Locked)
Installing Python3m 41s
-
(Locked)
The interactive interpreter6m 18s
-
(Locked)
Data types5m 59s
-
(Locked)
Data type conversions3m 44s
-
(Locked)
Lists4m 38s
-
(Locked)
Dictionaries4m 53s
-
(Locked)
User input2m 20s
-
(Locked)
The IF function8m 58s
-
(Locked)
Loops10m 43s
-
(Locked)
File access11m 35s
-
(Locked)
NETCONF7m 39s
-
(Locked)
RESTCONF9m 15s
-
(Locked)
Orchestration tools3m 5s
-
(Locked)
Cisco Catalyst Center overview5m 23s
-
(Locked)
Cisco Catalyst Center and SD-WAN manager APIs3m 16s
-
(Locked)
REST API response codes3m 5s
-
(Locked)
REST API security considerations7m 4s
-
(Locked)
-